summaryrefslogtreecommitdiff
path: root/examples/vulkan
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-11-14 14:49:32 +0100
committerKai Köhne <kai.koehne@qt.io>2022-11-17 19:59:11 +0100
commitbec264c15fe07382009def3c4bbef3f3b689b6eb (patch)
tree2335b779fc09463522ff5356cd2c152ff64d603f /examples/vulkan
parent9e251d44a79e171f093e89b21215d7372866ef4c (diff)
downloadqtbase-bec264c15fe07382009def3c4bbef3f3b689b6eb.tar.gz
Examples: Use Qt6:: to qualify Qt CMake packages
This is what we promote also in the documentation. Change-Id: If91aebafe861b0c934acbb2c69afd182abc3345d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/vulkan')
-rw-r--r--examples/vulkan/CMakeLists.txt4
-rw-r--r--examples/vulkan/hellovulkancubes/CMakeLists.txt8
-rw-r--r--examples/vulkan/hellovulkantexture/CMakeLists.txt4
-rw-r--r--examples/vulkan/hellovulkantriangle/CMakeLists.txt4
-rw-r--r--examples/vulkan/hellovulkanwidget/CMakeLists.txt6
-rw-r--r--examples/vulkan/hellovulkanwindow/CMakeLists.txt4
6 files changed, 15 insertions, 15 deletions
diff --git a/examples/vulkan/CMakeLists.txt b/examples/vulkan/CMakeLists.txt
index 28bf3ad9e7..e4a1af8e26 100644
--- a/examples/vulkan/CMakeLists.txt
+++ b/examples/vulkan/CMakeLists.txt
@@ -4,9 +4,9 @@
qt_internal_add_example(hellovulkanwindow)
qt_internal_add_example(hellovulkantriangle)
qt_internal_add_example(hellovulkantexture)
-if(TARGET Qt::Widgets)
+if(TARGET Qt6::Widgets)
qt_internal_add_example(hellovulkanwidget)
endif()
-if(TARGET Qt::Concurrent AND TARGET Qt::Widgets)
+if(TARGET Qt6::Concurrent AND TARGET Qt6::Widgets)
qt_internal_add_example(hellovulkancubes)
endif()
diff --git a/examples/vulkan/hellovulkancubes/CMakeLists.txt b/examples/vulkan/hellovulkancubes/CMakeLists.txt
index 6a21ae8ceb..ff187adb8f 100644
--- a/examples/vulkan/hellovulkancubes/CMakeLists.txt
+++ b/examples/vulkan/hellovulkancubes/CMakeLists.txt
@@ -30,10 +30,10 @@ set_target_properties(hellovulkancubes PROPERTIES
)
target_link_libraries(hellovulkancubes PUBLIC
- Qt::Concurrent
- Qt::Core
- Qt::Gui
- Qt::Widgets
+ Qt6::Concurrent
+ Qt6::Core
+ Qt6::Gui
+ Qt6::Widgets
)
# Resources:
diff --git a/examples/vulkan/hellovulkantexture/CMakeLists.txt b/examples/vulkan/hellovulkantexture/CMakeLists.txt
index 4ebeaea7b2..b7bd01278a 100644
--- a/examples/vulkan/hellovulkantexture/CMakeLists.txt
+++ b/examples/vulkan/hellovulkantexture/CMakeLists.txt
@@ -25,8 +25,8 @@ set_target_properties(hellovulkantexture PROPERTIES
)
target_link_libraries(hellovulkantexture PUBLIC
- Qt::Core
- Qt::Gui
+ Qt6::Core
+ Qt6::Gui
)
# Resources:
diff --git a/examples/vulkan/hellovulkantriangle/CMakeLists.txt b/examples/vulkan/hellovulkantriangle/CMakeLists.txt
index bb8c2f549d..43bc6652d1 100644
--- a/examples/vulkan/hellovulkantriangle/CMakeLists.txt
+++ b/examples/vulkan/hellovulkantriangle/CMakeLists.txt
@@ -25,8 +25,8 @@ set_target_properties(hellovulkantriangle PROPERTIES
)
target_link_libraries(hellovulkantriangle PUBLIC
- Qt::Core
- Qt::Gui
+ Qt6::Core
+ Qt6::Gui
)
# Resources:
diff --git a/examples/vulkan/hellovulkanwidget/CMakeLists.txt b/examples/vulkan/hellovulkanwidget/CMakeLists.txt
index 5e85f144dc..da5dcba97b 100644
--- a/examples/vulkan/hellovulkanwidget/CMakeLists.txt
+++ b/examples/vulkan/hellovulkanwidget/CMakeLists.txt
@@ -26,9 +26,9 @@ set_target_properties(hellovulkanwidget PROPERTIES
)
target_link_libraries(hellovulkanwidget PUBLIC
- Qt::Core
- Qt::Gui
- Qt::Widgets
+ Qt6::Core
+ Qt6::Gui
+ Qt6::Widgets
)
# Resources:
diff --git a/examples/vulkan/hellovulkanwindow/CMakeLists.txt b/examples/vulkan/hellovulkanwindow/CMakeLists.txt
index 459cbccd5e..37cc242b53 100644
--- a/examples/vulkan/hellovulkanwindow/CMakeLists.txt
+++ b/examples/vulkan/hellovulkanwindow/CMakeLists.txt
@@ -25,8 +25,8 @@ set_target_properties(hellovulkanwindow PROPERTIES
)
target_link_libraries(hellovulkanwindow PUBLIC
- Qt::Core
- Qt::Gui
+ Qt6::Core
+ Qt6::Gui
)
install(TARGETS hellovulkanwindow