diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-22 16:06:15 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-22 18:01:26 +0200 |
commit | 82e05da0aea85bc92ff045b77c10220eed0e4dfd (patch) | |
tree | 6d9281de2bab3ecc61c230e42f318f6439a98811 /tests/auto | |
parent | 317e3f3dcd8645c4c1b7cec7d3ad142e96e6c440 (diff) | |
download | qtsvg-82e05da0aea85bc92ff045b77c10220eed0e4dfd.tar.gz |
CMake: Regenerate projects before API change
Task-number: QTBUG-86815
Change-Id: I2b5975cc1995518f1995955d9b655ab26e764ad0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qicon_svg/.prev_CMakeLists.txt | 39 | ||||
-rw-r--r-- | tests/auto/qicon_svg/CMakeLists.txt | 2 |
2 files changed, 40 insertions, 1 deletions
diff --git a/tests/auto/qicon_svg/.prev_CMakeLists.txt b/tests/auto/qicon_svg/.prev_CMakeLists.txt new file mode 100644 index 0000000..54b8666 --- /dev/null +++ b/tests/auto/qicon_svg/.prev_CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from qicon_svg.pro. + +##################################################################### +## tst_qicon_svg Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + icons/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_qicon_svg + SOURCES + tst_qicon_svg.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Svg + TESTDATA ${test_data} +) + +# Resources: +set(tst_qicon_svg_resource_files + "./icons/heart.svg" + "./icons/heart.svgz" + "./icons/image.png" + "./icons/rect.svg" + "./icons/rect_size_100percent.svg" + "./icons/trash.svg" +) + +qt_add_resource(tst_qicon_svg "tst_qicon_svg" + PREFIX + "/" + FILES + ${tst_qicon_svg_resource_files} +) + diff --git a/tests/auto/qicon_svg/CMakeLists.txt b/tests/auto/qicon_svg/CMakeLists.txt index 5f18ff2..bbdfe5f 100644 --- a/tests/auto/qicon_svg/CMakeLists.txt +++ b/tests/auto/qicon_svg/CMakeLists.txt @@ -11,7 +11,7 @@ file(GLOB_RECURSE test_data_glob list(APPEND test_data ${test_data_glob}) qt_add_test(tst_qicon_svg - LOWDPI + LOWDPI # special case SOURCES tst_qicon_svg.cpp PUBLIC_LIBRARIES |