summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-05-11 13:57:10 +0200
committerKai Köhne <kai.koehne@qt.io>2022-05-23 10:37:34 +0200
commitf3f9694142af0bfd508fc3face49b242ba6c81b0 (patch)
tree595d7f901eb9afe47ade0fc7565dfff948b46665 /examples
parent1cd142e7a126fcef2e0821e3debd2c083738775c (diff)
Examples: Use REQUIRED COMPONENTS where possible
This will result in a better error message if the components are not available. Pick-to: 6.3 Change-Id: Ib691643a9562981863eab5c27ce436814858e2e9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginequick/customtouchhandle/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginequick/customtouchhandle/CMakeLists.txt b/examples/webenginequick/customtouchhandle/CMakeLists.txt
index 5062e5d53..3ec47e8bd 100644
--- a/examples/webenginequick/customtouchhandle/CMakeLists.txt
+++ b/examples/webenginequick/customtouchhandle/CMakeLists.txt
@@ -9,7 +9,7 @@ endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/webenginequick/customtouchhandle")
-find_package(Qt6 COMPONENTS Core Gui WebEngineQuick)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui WebEngineQuick)
qt_add_executable(customtouchhandle
main.cpp