diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-06-09 11:46:09 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-06-10 07:20:01 +0000 |
commit | 5b6d9a3bbf3bdd4adbd97259d9e19fd23e0e29a5 (patch) | |
tree | 2fd60ee700a1e1e84384425594da0714bd7b9e9b | |
parent | de6022dd46a431555ba82b012e9d70e743603137 (diff) |
Fix cmake example to be consistent about Qt modules
Change-Id: I1a7fb4745d7feac4213d2ca555d1d635ec1d615d
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 02ef59b2d0e8dadfd1d58c6590d21eb79c773007)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | doc/src/cmake/snippets/cmake/qt5_qt6_compatible.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/cmake/snippets/cmake/qt5_qt6_compatible.cmake b/doc/src/cmake/snippets/cmake/qt5_qt6_compatible.cmake index fdeed1f89..b40ddfe03 100644 --- a/doc/src/cmake/snippets/cmake/qt5_qt6_compatible.cmake +++ b/doc/src/cmake/snippets/cmake/qt5_qt6_compatible.cmake @@ -1,5 +1,5 @@ #! [versionless_targets] -find_package(Qt6 COMPONENTS Widgets) +find_package(Qt6 COMPONENTS Core) if (NOT Qt6_FOUND) find_package(Qt5 5.15 REQUIRED COMPONENTS Core) endif() |