diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-11-29 14:42:24 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-11-29 21:10:14 +0000 |
commit | a2d56c9fb19ab163ace79babe64578c4e1536bb3 (patch) | |
tree | dbf5cebc58cbca964ab2a6cd0468d3649a30bcba /examples/scriptableapplication/CMakeLists.txt | |
parent | 4c1618d7ef8da5d4b45f29346ba6a1c7d34bce29 (diff) |
Build system: Use modern form of finding and linking Qt libraries
Task-number: PYSIDE-962
Change-Id: I91aed62a8e14bbc1101b4f23e25f57a5d6bca173
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit c199b64bcbcaeb55ce78ce3f4e772fcdc68073f4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/scriptableapplication/CMakeLists.txt')
-rw-r--r-- | examples/scriptableapplication/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/scriptableapplication/CMakeLists.txt b/examples/scriptableapplication/CMakeLists.txt index af6d11a27..e9c19dc30 100644 --- a/examples/scriptableapplication/CMakeLists.txt +++ b/examples/scriptableapplication/CMakeLists.txt @@ -12,9 +12,7 @@ project(scriptableapplication) set(CMAKE_CXX_STANDARD 17) # Find required Qt packages. -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) +find_package(Qt6 COMPONENTS Core Gui Widgets) # Use provided python interpreter if given. if(NOT python_interpreter) |