diff options
-rw-r--r-- | tests/auto/qsvgplugin/CMakeLists.txt | 35 | ||||
-rw-r--r-- | tests/auto/qsvgrenderer/CMakeLists.txt | 9 |
2 files changed, 27 insertions, 17 deletions
diff --git a/tests/auto/qsvgplugin/CMakeLists.txt b/tests/auto/qsvgplugin/CMakeLists.txt index d51cc5c..aa67c41 100644 --- a/tests/auto/qsvgplugin/CMakeLists.txt +++ b/tests/auto/qsvgplugin/CMakeLists.txt @@ -5,6 +5,7 @@ ##################################################################### add_qt_test(tst_qsvgplugin + GUI SOURCES tst_qsvgplugin.cpp DEFINES @@ -18,21 +19,25 @@ add_qt_test(tst_qsvgplugin ) # Resources: -add_qt_resource(tst_qsvgplugin "resources" FILES - imageInclude.svg - imageIncludeA.svg - square.svg - square_size.svg - square_size_viewbox.svg - square_viewbox.svg - tall.svg - tall_size.svg - tall_size_viewbox.svg - tall_viewbox.svg - wide.svg - wide_size.svg - wide_size_viewbox.svg - wide_viewbox.svg) +add_qt_resource(tst_qsvgplugin "resources" + PREFIX + "/" + FILES + imageInclude.svg + imageIncludeA.svg + square.svg + square_size.svg + square_size_viewbox.svg + square_viewbox.svg + tall.svg + tall_size.svg + tall_size_viewbox.svg + tall_viewbox.svg + wide.svg + wide_size.svg + wide_size_viewbox.svg + wide_viewbox.svg +) #### Keys ignored in scope 1:.:.:qsvgplugin.pro:<TRUE>: diff --git a/tests/auto/qsvgrenderer/CMakeLists.txt b/tests/auto/qsvgrenderer/CMakeLists.txt index 0ef0c76..5ff0f43 100644 --- a/tests/auto/qsvgrenderer/CMakeLists.txt +++ b/tests/auto/qsvgrenderer/CMakeLists.txt @@ -5,6 +5,7 @@ ##################################################################### add_qt_test(tst_qsvgrenderer + GUI SOURCES tst_qsvgrenderer.cpp DEFINES @@ -18,8 +19,12 @@ add_qt_test(tst_qsvgrenderer ) # Resources: -add_qt_resource(tst_qsvgrenderer "resources" FILES - heart.svgz) +add_qt_resource(tst_qsvgrenderer "resources" + PREFIX + "/" + FILES + heart.svgz +) #### Keys ignored in scope 1:.:.:qsvgrenderer.pro:<TRUE>: |