diff options
Diffstat (limited to 'tests/auto/quickcontrols2')
27 files changed, 31 insertions, 30 deletions
diff --git a/tests/auto/quickcontrols2/accessibility/CMakeLists.txt b/tests/auto/quickcontrols2/accessibility/CMakeLists.txt index ba27a49741..dafca24b7d 100644 --- a/tests/auto/quickcontrols2/accessibility/CMakeLists.txt +++ b/tests/auto/quickcontrols2/accessibility/CMakeLists.txt @@ -21,7 +21,7 @@ qt_internal_add_test(tst_accessibility ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_accessibility.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/cursor/CMakeLists.txt b/tests/auto/quickcontrols2/cursor/CMakeLists.txt index d764836ef2..ebb6ec8cc6 100644 --- a/tests/auto/quickcontrols2/cursor/CMakeLists.txt +++ b/tests/auto/quickcontrols2/cursor/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_cursor ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_cursor.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/customization/CMakeLists.txt b/tests/auto/quickcontrols2/customization/CMakeLists.txt index 56bcaf1130..daa234d205 100644 --- a/tests/auto/quickcontrols2/customization/CMakeLists.txt +++ b/tests/auto/quickcontrols2/customization/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_customization ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_customization.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/dialogs/qquickfiledialogimpl/CMakeLists.txt b/tests/auto/quickcontrols2/dialogs/qquickfiledialogimpl/CMakeLists.txt index 22e645466a..220e826c71 100644 --- a/tests/auto/quickcontrols2/dialogs/qquickfiledialogimpl/CMakeLists.txt +++ b/tests/auto/quickcontrols2/dialogs/qquickfiledialogimpl/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_test(tst_qquickfiledialogimpl ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h tst_qquickfiledialogimpl.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/dialogs/qquickfontdialogimpl/CMakeLists.txt b/tests/auto/quickcontrols2/dialogs/qquickfontdialogimpl/CMakeLists.txt index 0250c64e61..b631dc8bab 100644 --- a/tests/auto/quickcontrols2/dialogs/qquickfontdialogimpl/CMakeLists.txt +++ b/tests/auto/quickcontrols2/dialogs/qquickfontdialogimpl/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_test(tst_qquickfontdialogimpl ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h tst_qquickfontdialogimpl.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/imports\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/focus/CMakeLists.txt b/tests/auto/quickcontrols2/focus/CMakeLists.txt index 6ccf461bea..74738cc2a5 100644 --- a/tests/auto/quickcontrols2/focus/CMakeLists.txt +++ b/tests/auto/quickcontrols2/focus/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_focus ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_focus.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/font/CMakeLists.txt b/tests/auto/quickcontrols2/font/CMakeLists.txt index 219c6f6d38..e7cef47674 100644 --- a/tests/auto/quickcontrols2/font/CMakeLists.txt +++ b/tests/auto/quickcontrols2/font/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_font ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_font.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/palette/CMakeLists.txt b/tests/auto/quickcontrols2/palette/CMakeLists.txt index 64aa3a1c92..1a00f79973 100644 --- a/tests/auto/quickcontrols2/palette/CMakeLists.txt +++ b/tests/auto/quickcontrols2/palette/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_palette ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_palette.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt b/tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt index d3d013acc0..00cde69c12 100644 --- a/tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickapplicationwindow ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickapplicationwindow.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt b/tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt index dc35e0307d..a8e6e65560 100644 --- a/tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickcontrol ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickcontrol.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt b/tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt index a3ab2bb2ff..8eb1f14871 100644 --- a/tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickdrawer ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickdrawer.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt b/tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt index 6a8f0fae5c..a8809a8427 100644 --- a/tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickheaderview ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickheaderview.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt b/tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt index d11779bcd1..d6ce5fd25c 100644 --- a/tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt @@ -21,7 +21,7 @@ qt_internal_add_test(tst_qquickiconimage ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickiconimage.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" LIBRARIES Qt::QuickControls2ImplPrivate Qt::QuickPrivate diff --git a/tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt b/tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt index 42bbf91f7b..54bc7172af 100644 --- a/tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickiconlabel ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickiconlabel.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" LIBRARIES Qt::QuickControls2ImplPrivate Qt::QuickPrivate diff --git a/tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt b/tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt index 5ccda88b52..ef5c2d1352 100644 --- a/tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickmaterialstyleconf ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickmaterialstyleconf.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt b/tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt index f0cfa15da0..20dcaca04a 100644 --- a/tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickmenu ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickmenu.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt b/tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt index 992e430666..9f3656f0fd 100644 --- a/tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickmenubar ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickmenubar.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt b/tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt index 2b74749271..d9a18c4959 100644 --- a/tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt @@ -21,7 +21,7 @@ qt_internal_add_test(tst_qquickninepatchimage ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickninepatchimage.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" LIBRARIES Qt::GuiPrivate Qt::QuickControls2Private diff --git a/tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt b/tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt index 12a345ecc3..ad0c89c940 100644 --- a/tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickpopup ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickpopup.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt b/tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt index 6295fb4e12..c1d3a30e5f 100644 --- a/tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickstyle ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickstyle.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" LIBRARIES Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt b/tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt index f3ce48a3e9..ac4a70d332 100644 --- a/tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickuniversalstyleconf ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickuniversalstyleconf.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/sanity/CMakeLists.txt b/tests/auto/quickcontrols2/sanity/CMakeLists.txt index cbd3e2ccd2..c0d773b2dd 100644 --- a/tests/auto/quickcontrols2/sanity/CMakeLists.txt +++ b/tests/auto/quickcontrols2/sanity/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_test(tst_sanity ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_sanity.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/sanity/tst_sanity.cpp b/tests/auto/quickcontrols2/sanity/tst_sanity.cpp index 9678990df7..ecbcf8de03 100644 --- a/tests/auto/quickcontrols2/sanity/tst_sanity.cpp +++ b/tests/auto/quickcontrols2/sanity/tst_sanity.cpp @@ -171,10 +171,11 @@ void tst_Sanity::initTestCase() // Then, collect the files from each installed style directory. const QVector<QPair<QString, QString>> styleRelativePaths = { - { "quickcontrols2/basic", "QtQuick/Controls/Basic" }, - { "quickcontrols2/fusion", "QtQuick/Controls/Fusion" }, - { "quickcontrols2/material", "QtQuick/Controls/Material" }, - { "quickcontrols2/universal", "QtQuick/Controls/Universal" }, + { "basic", "QtQuick/Controls/Basic" }, + { "fusion", "QtQuick/Controls/Fusion" }, + { "material", "QtQuick/Controls/Material" }, + { "universal", "QtQuick/Controls/Universal" }, + // TODO: add native styles: QTBUG-87108 }; for (const auto &stylePathPair : styleRelativePaths) { forEachControl(&engine, stylePathPair.first, stylePathPair.second, QStringList(), diff --git a/tests/auto/quickcontrols2/styleimports/CMakeLists.txt b/tests/auto/quickcontrols2/styleimports/CMakeLists.txt index 9e612bc7a4..67012c1d56 100644 --- a/tests/auto/quickcontrols2/styleimports/CMakeLists.txt +++ b/tests/auto/quickcontrols2/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\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt b/tests/auto/quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt index 0861ffa24c..06a8fe664c 100644 --- a/tests/auto/quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt +++ b/tests/auto/quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_styleimportscompiletimematerial ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_styleimportscompiletimematerial.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt b/tests/auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt index d4bb0c1b92..2e5c80669e 100644 --- a/tests/auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt +++ b/tests/auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_styleimportscompiletimeqmlonly ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_styleimportscompiletimeqmlonly.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quickcontrols2/translation/CMakeLists.txt b/tests/auto/quickcontrols2/translation/CMakeLists.txt index efb0ab6e41..e21dc99965 100644 --- a/tests/auto/quickcontrols2/translation/CMakeLists.txt +++ b/tests/auto/quickcontrols2/translation/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_translation ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_translation.cpp DEFINES - QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src\\\" + QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui |