diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-06-07 15:46:54 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-06-08 09:01:54 +0000 |
commit | d95fb1adc946385371f9097b098e6ddcf84e5b24 (patch) | |
tree | 42ecef22983d3c221fd39f31ac0f885e19c69a3a | |
parent | 0abce5f4af3994853ff2d689cee3401457f0da01 (diff) |
CMake: Ensure Widgets and PrintSupport are there for examples
Otherwise the documentviewer example is not built in the CI
Change-Id: I4a9aa8b0f3f8301802a50fcc3b859c51dea4c6c2
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit f75400f7821bd42df230d558024226365d83dc9d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 88354a973..fa2f54204 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +13,20 @@ project(QtDoc # special case LANGUAGES CXX C ) -find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case -find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Qml Quick Test Sql Network QuickControls2 QmlXmlListModel) # special case for tests +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) +find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG + OPTIONAL_COMPONENTS + Gui + Widgets + PrintSupport + Qml + Quick + Test + Sql + Network + QuickControls2 + QmlXmlListModel +) qt_internal_project_setup() # special case begin |