summaryrefslogtreecommitdiffstats
path: root/examples/qpa
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qpa')
-rw-r--r--examples/qpa/qrasterwindow/CMakeLists.txt2
-rw-r--r--examples/qpa/windows/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qpa/qrasterwindow/CMakeLists.txt b/examples/qpa/qrasterwindow/CMakeLists.txt
index 3baff1ed61..1567d38285 100644
--- a/examples/qpa/qrasterwindow/CMakeLists.txt
+++ b/examples/qpa/qrasterwindow/CMakeLists.txt
@@ -3,7 +3,7 @@
cmake_minimum_required(VERSION 3.14)
project(qrasterwindow LANGUAGES CXX)
-find_package(Qt5 COMPONENTS Gui) # special case
+find_package(Qt6 COMPONENTS Gui) # special case
set(CMAKE_INCLUDE_CURRENT_DIR ON)
diff --git a/examples/qpa/windows/CMakeLists.txt b/examples/qpa/windows/CMakeLists.txt
index afd1b57615..22f98c28f3 100644
--- a/examples/qpa/windows/CMakeLists.txt
+++ b/examples/qpa/windows/CMakeLists.txt
@@ -11,8 +11,8 @@ set(CMAKE_AUTOUIC ON)
set(INSTALL_EXAMPLEDIR "examples")
-find_package(Qt5 COMPONENTS Gui)
-find_package(Qt5 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Core)
add_executable(windows
main.cpp