summaryrefslogtreecommitdiff
path: root/examples/widgets/layouts
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-16 11:55:24 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-19 11:51:47 +0200
commit2ffbac7cb2f16ab350d203a12a86535772d1c578 (patch)
tree6c75c04df8ddfdf9c466647858538ea9fa3b925b /examples/widgets/layouts
parentc3fee0d984e59cee3ab6d069011015dd850be98f (diff)
downloadqtbase-2ffbac7cb2f16ab350d203a12a86535772d1c578.tar.gz
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661 Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
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