aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/models
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-16 16:20:49 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-20 09:32:34 +0200
commit903252b240834ac2a6d080c0f3a69c53d5ec0c0b (patch)
tree70ff18fec75984a52cb1bf8dcd7468c94294b0c4 /examples/quick/models
parentb4a0e5ac8d6bd2531267c51bb84c9ea53ad87302 (diff)
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661 Change-Id: Ie5bba408000211b24694aa0143bdf79c4a298f42 Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Diffstat (limited to 'examples/quick/models')
-rw-r--r--examples/quick/models/abstractitemmodel/CMakeLists.txt2
-rw-r--r--examples/quick/models/objectlistmodel/CMakeLists.txt2
-rw-r--r--examples/quick/models/stringlistmodel/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/models/abstractitemmodel/CMakeLists.txt b/examples/quick/models/abstractitemmodel/CMakeLists.txt
index 7e7fabb916..1e67db9295 100644
--- a/examples/quick/models/abstractitemmodel/CMakeLists.txt
+++ b/examples/quick/models/abstractitemmodel/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
-add_qt_gui_executable(abstractitemmodel
+qt_add_executable(abstractitemmodel
main.cpp
model.cpp model.h
)
diff --git a/examples/quick/models/objectlistmodel/CMakeLists.txt b/examples/quick/models/objectlistmodel/CMakeLists.txt
index 6c3f30ca75..acc38f8545 100644
--- a/examples/quick/models/objectlistmodel/CMakeLists.txt
+++ b/examples/quick/models/objectlistmodel/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
-add_qt_gui_executable(objectlistmodel
+qt_add_executable(objectlistmodel
dataobject.cpp dataobject.h
main.cpp
)
diff --git a/examples/quick/models/stringlistmodel/CMakeLists.txt b/examples/quick/models/stringlistmodel/CMakeLists.txt
index 898d3b5c45..92842da4a5 100644
--- a/examples/quick/models/stringlistmodel/CMakeLists.txt
+++ b/examples/quick/models/stringlistmodel/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
-add_qt_gui_executable(stringlistmodel
+qt_add_executable(stringlistmodel
main.cpp
)
target_link_libraries(stringlistmodel PUBLIC