From ed65d1ab49e6f5537b086178f9f9d14fc190b663 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 23 Sep 2020 11:34:07 +0200 Subject: CMake: Regenerate projects to use new qt_internal_ API Modify special case locations to use the new API as well. Task-number: QTBUG-86815 Change-Id: I4a690095fcd4b1141550de86b6820ae2dd579429 Reviewed-by: Cristian Adam --- tests/auto/qquickapplicationwindow/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/auto/qquickapplicationwindow') diff --git a/tests/auto/qquickapplicationwindow/CMakeLists.txt b/tests/auto/qquickapplicationwindow/CMakeLists.txt index 6fa2e692..20268703 100644 --- a/tests/auto/qquickapplicationwindow/CMakeLists.txt +++ b/tests/auto/qquickapplicationwindow/CMakeLists.txt @@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob data/*) list(APPEND test_data ${test_data_glob}) -qt_add_test(tst_qquickapplicationwindow +qt_internal_add_test(tst_qquickapplicationwindow SOURCES ../shared/qtest_quickcontrols.h ../shared/util.cpp ../shared/util.h @@ -37,12 +37,12 @@ qt_add_test(tst_qquickapplicationwindow ## Scopes: ##################################################################### -qt_extend_target(tst_qquickapplicationwindow CONDITION ANDROID OR IOS +qt_internal_extend_target(tst_qquickapplicationwindow CONDITION ANDROID OR IOS DEFINES QT_QMLTEST_DATADIR=\\\":/data\\\" ) -qt_extend_target(tst_qquickapplicationwindow CONDITION NOT ANDROID AND NOT IOS +qt_internal_extend_target(tst_qquickapplicationwindow CONDITION NOT ANDROID AND NOT IOS DEFINES QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) -- cgit v1.2.3