summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Negyokru <negyokru@inf.u-szeged.hu>2023-05-31 15:05:41 +0200
committerMartin Negyokru <negyokru@inf.u-szeged.hu>2023-06-07 14:44:13 +0200
commit7731a513cf59b49c5b241d5c1bfc2e59ef990038 (patch)
tree6f694e4ba5f51699a04f517995f84e930b212d2e /tests
parent9927a8b649fc944076825dd9616c9a1687087b00 (diff)
Fix standalone build of manual examples
Use Qt6BuildInternals package for standalone build as it is done in other manual tests. Change-Id: I383e79ce9f214e11f62a76e585afc3cd750e7e38 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/examples/quick/customdialogs/CMakeLists.txt2
-rw-r--r--tests/manual/examples/quick/customtouchhandle/CMakeLists.txt2
-rw-r--r--tests/manual/examples/quick/minimal/CMakeLists.txt2
-rw-r--r--tests/manual/examples/quick/webengineaction/CMakeLists.txt2
-rw-r--r--tests/manual/examples/widgets/minimal/CMakeLists.txt2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/manual/examples/quick/customdialogs/CMakeLists.txt b/tests/manual/examples/quick/customdialogs/CMakeLists.txt
index f0cdd54fa..e0f57ed7e 100644
--- a/tests/manual/examples/quick/customdialogs/CMakeLists.txt
+++ b/tests/manual/examples/quick/customdialogs/CMakeLists.txt
@@ -4,7 +4,7 @@
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(customdialogs LANGUAGES CXX)
- find_package(Qt6 REQUIRED COMPONENTS Core Gui WebEngineQuick)
+ find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
qt_internal_add_manual_test(customdialogs
diff --git a/tests/manual/examples/quick/customtouchhandle/CMakeLists.txt b/tests/manual/examples/quick/customtouchhandle/CMakeLists.txt
index 5d790a9e3..a893a24eb 100644
--- a/tests/manual/examples/quick/customtouchhandle/CMakeLists.txt
+++ b/tests/manual/examples/quick/customtouchhandle/CMakeLists.txt
@@ -4,7 +4,7 @@
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(customtouchhandle LANGUAGES CXX)
- find_package(Qt6 REQUIRED COMPONENTS Core Gui WebEngineQuick)
+ find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
qt_internal_add_manual_test(customtouchhandle
diff --git a/tests/manual/examples/quick/minimal/CMakeLists.txt b/tests/manual/examples/quick/minimal/CMakeLists.txt
index 39aaa1ea3..a46591ed0 100644
--- a/tests/manual/examples/quick/minimal/CMakeLists.txt
+++ b/tests/manual/examples/quick/minimal/CMakeLists.txt
@@ -4,7 +4,7 @@
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(minimal LANGUAGES CXX)
- find_package(Qt6 REQUIRED COMPONENTS Core Gui WebEngineQuick)
+ find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
qt_internal_add_manual_test(webengine-minimal-qml
diff --git a/tests/manual/examples/quick/webengineaction/CMakeLists.txt b/tests/manual/examples/quick/webengineaction/CMakeLists.txt
index 563e3c9df..5a9b512e1 100644
--- a/tests/manual/examples/quick/webengineaction/CMakeLists.txt
+++ b/tests/manual/examples/quick/webengineaction/CMakeLists.txt
@@ -4,7 +4,7 @@
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(webengineaction LANGUAGES CXX)
- find_package(Qt6 REQUIRED COMPONENTS Core Gui WebEngineQuick)
+ find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
qt_internal_add_manual_test(webengineaction
diff --git a/tests/manual/examples/widgets/minimal/CMakeLists.txt b/tests/manual/examples/widgets/minimal/CMakeLists.txt
index 6351aaa90..463e12f5b 100644
--- a/tests/manual/examples/widgets/minimal/CMakeLists.txt
+++ b/tests/manual/examples/widgets/minimal/CMakeLists.txt
@@ -4,7 +4,7 @@
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(minimal LANGUAGES CXX)
- find_package(Qt6 REQUIRED COMPONENTS Core Gui WebEngineWidgets)
+ find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
qt_internal_add_manual_test(minimal-widgets