diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-05-11 13:57:10 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-05-23 10:37:34 +0200 |
commit | f3f9694142af0bfd508fc3face49b242ba6c81b0 (patch) | |
tree | 595d7f901eb9afe47ade0fc7565dfff948b46665 /examples | |
parent | 1cd142e7a126fcef2e0821e3debd2c083738775c (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.txt | 2 |
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 |