summaryrefslogtreecommitdiffstats
path: root/examples/widgets/draganddrop/puzzle
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/draganddrop/puzzle')
-rw-r--r--examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt2
-rw-r--r--examples/widgets/draganddrop/puzzle/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt b/examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt
index b7b6fa8373..cad4c02602 100644
--- a/examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt
+++ b/examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(puzzle
+qt_add_executable(puzzle
main.cpp
mainwindow.cpp mainwindow.h
pieceslist.cpp pieceslist.h
diff --git a/examples/widgets/draganddrop/puzzle/CMakeLists.txt b/examples/widgets/draganddrop/puzzle/CMakeLists.txt
index 01c60cc684..a8f319b6bd 100644
--- a/examples/widgets/draganddrop/puzzle/CMakeLists.txt
+++ b/examples/widgets/draganddrop/puzzle/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(draganddrop_puzzle # special case: renamed puzzle
+qt_add_executable(draganddrop_puzzle # special case: renamed puzzle
main.cpp
mainwindow.cpp mainwindow.h
pieceslist.cpp pieceslist.h