diff options
author | Kai Köhne <kai.koehne@qt.io> | 2023-05-02 12:25:58 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2023-05-02 12:03:42 +0000 |
commit | 835f15cfbb628938fcd7bfa4e334dec6199e54c6 (patch) | |
tree | 4fe262bce1e25eb99a578097d844440a1454cbc5 /examples/tutorials | |
parent | 3705d584d766098dc75fdcc87eb03658ae77be44 (diff) |
Use versioned CMake targets for Qt modules
Use e.g. Qt6::Core instead of Qt::Core. This is better matching the
find_package(Qt6 ...) call, and also avoids issues that the versionless
targets have.
Pick-to: 6.5
Task-number: QTBUG-113277
Change-Id: I9bc7963d8524ef2ab061e32aef428711646247a7
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples/tutorials')
-rw-r--r-- | examples/tutorials/alarms/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tutorials/alarms/CMakeLists.txt b/examples/tutorials/alarms/CMakeLists.txt index 246b82399..12be92e8e 100644 --- a/examples/tutorials/alarms/CMakeLists.txt +++ b/examples/tutorials/alarms/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(alarms PROPERTIES ) target_link_libraries(alarms PUBLIC - Qt::Core - Qt::Gui - Qt::Quick + Qt6::Core + Qt6::Gui + Qt6::Quick ) # Resources: |