aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/styleimports
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/styleimports')
-rw-r--r--tests/auto/styleimports/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/styleimports/CMakeLists.txt b/tests/auto/styleimports/CMakeLists.txt
index 94e7bce8..ee626ac5 100644
--- a/tests/auto/styleimports/CMakeLists.txt
+++ b/tests/auto/styleimports/CMakeLists.txt
@@ -17,7 +17,7 @@ qt_internal_add_test(tst_styleimports
../shared/visualtestutil.cpp ../shared/visualtestutil.h
tst_styleimports.cpp
DEFINES
- QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src\\\"
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Gui
@@ -28,14 +28,15 @@ qt_internal_add_test(tst_styleimports
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
+ Qt::QuickTest
Qt::TestPrivate
TESTDATA ${test_data}
)
# Resources:
set(qmake_resourcestyle_resource_files
- "ResourceStyle/Button.qml" # special case: QTBUG-86726
- "ResourceStyle/qmldir" # special case
+ "resources/ResourceStyle/Button.qml"
+ "resources/ResourceStyle/qmldir"
)
qt_internal_add_resource(tst_styleimports "qmake_resourcestyle"