summaryrefslogtreecommitdiffstats
path: root/examples/widgets/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/layouts')
-rw-r--r--examples/widgets/layouts/basiclayouts/CMakeLists.txt2
-rw-r--r--examples/widgets/layouts/borderlayout/CMakeLists.txt2
-rw-r--r--examples/widgets/layouts/dynamiclayouts/CMakeLists.txt2
-rw-r--r--examples/widgets/layouts/flowlayout/CMakeLists.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/widgets/layouts/basiclayouts/CMakeLists.txt b/examples/widgets/layouts/basiclayouts/CMakeLists.txt
index 5ffc4eafb4..b82cb71183 100644
--- a/examples/widgets/layouts/basiclayouts/CMakeLists.txt
+++ b/examples/widgets/layouts/basiclayouts/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(basiclayouts
+qt_add_executable(basiclayouts
dialog.cpp dialog.h
main.cpp
)
diff --git a/examples/widgets/layouts/borderlayout/CMakeLists.txt b/examples/widgets/layouts/borderlayout/CMakeLists.txt
index 247f2b60d8..7459228ce7 100644
--- a/examples/widgets/layouts/borderlayout/CMakeLists.txt
+++ b/examples/widgets/layouts/borderlayout/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(borderlayout
+qt_add_executable(borderlayout
borderlayout.cpp borderlayout.h
main.cpp
window.cpp window.h
diff --git a/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt b/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt
index ecf77a3f37..2c27f31b7c 100644
--- a/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt
+++ b/examples/widgets/layouts/dynamiclayouts/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(dynamiclayouts
+qt_add_executable(dynamiclayouts
dialog.cpp dialog.h
main.cpp
)
diff --git a/examples/widgets/layouts/flowlayout/CMakeLists.txt b/examples/widgets/layouts/flowlayout/CMakeLists.txt
index 8ae7bca559..3c1973886a 100644
--- a/examples/widgets/layouts/flowlayout/CMakeLists.txt
+++ b/examples/widgets/layouts/flowlayout/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(flowlayout
+qt_add_executable(flowlayout
flowlayout.cpp flowlayout.h
main.cpp
window.cpp window.h