aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml')
-rw-r--r--examples/qml/networkaccessmanagerfactory/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/adding/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/attached/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/binding/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/coercion/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/default/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/extended/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/grouped/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/methods/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/properties/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/signal/CMakeLists.txt2
-rw-r--r--examples/qml/referenceexamples/valuesource/CMakeLists.txt2
-rw-r--r--examples/qml/shell/CMakeLists.txt2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt2
-rw-r--r--examples/qml/xmlhttprequest/CMakeLists.txt2
21 files changed, 21 insertions, 21 deletions
diff --git a/examples/qml/networkaccessmanagerfactory/CMakeLists.txt b/examples/qml/networkaccessmanagerfactory/CMakeLists.txt
index d0d8edaa01..561866bbec 100644
--- a/examples/qml/networkaccessmanagerfactory/CMakeLists.txt
+++ b/examples/qml/networkaccessmanagerfactory/CMakeLists.txt
@@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS Network)
-add_qt_gui_executable(networkaccessmanagerfactory
+qt_add_executable(networkaccessmanagerfactory
main.cpp
)
target_link_libraries(networkaccessmanagerfactory PUBLIC
diff --git a/examples/qml/referenceexamples/adding/CMakeLists.txt b/examples/qml/referenceexamples/adding/CMakeLists.txt
index 2e408bc21e..47c7e1025d 100644
--- a/examples/qml/referenceexamples/adding/CMakeLists.txt
+++ b/examples/qml/referenceexamples/adding/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/referenceexamples/adding")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(adding
+qt_add_executable(adding
main.cpp
person.cpp person.h
)
diff --git a/examples/qml/referenceexamples/attached/CMakeLists.txt b/examples/qml/referenceexamples/attached/CMakeLists.txt
index f0ab82e33b..2cf6c881e8 100644
--- a/examples/qml/referenceexamples/attached/CMakeLists.txt
+++ b/examples/qml/referenceexamples/attached/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(attached
+qt_add_executable(attached
birthdayparty.cpp birthdayparty.h
main.cpp
person.cpp person.h
diff --git a/examples/qml/referenceexamples/binding/CMakeLists.txt b/examples/qml/referenceexamples/binding/CMakeLists.txt
index 130baf47ec..87b95b4d37 100644
--- a/examples/qml/referenceexamples/binding/CMakeLists.txt
+++ b/examples/qml/referenceexamples/binding/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(binding
+qt_add_executable(binding
birthdayparty.cpp birthdayparty.h
happybirthdaysong.cpp happybirthdaysong.h
main.cpp
diff --git a/examples/qml/referenceexamples/coercion/CMakeLists.txt b/examples/qml/referenceexamples/coercion/CMakeLists.txt
index 9afaa87082..abdfe70b5d 100644
--- a/examples/qml/referenceexamples/coercion/CMakeLists.txt
+++ b/examples/qml/referenceexamples/coercion/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/referenceexamples/coercion")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(coercion
+qt_add_executable(coercion
birthdayparty.cpp birthdayparty.h
main.cpp
person.cpp person.h
diff --git a/examples/qml/referenceexamples/default/CMakeLists.txt b/examples/qml/referenceexamples/default/CMakeLists.txt
index cfb1942345..bdd6f76c7d 100644
--- a/examples/qml/referenceexamples/default/CMakeLists.txt
+++ b/examples/qml/referenceexamples/default/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/referenceexamples/default")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(default
+qt_add_executable(default
birthdayparty.cpp birthdayparty.h
main.cpp
person.cpp person.h
diff --git a/examples/qml/referenceexamples/extended/CMakeLists.txt b/examples/qml/referenceexamples/extended/CMakeLists.txt
index fcc7619608..f2b99ec2c0 100644
--- a/examples/qml/referenceexamples/extended/CMakeLists.txt
+++ b/examples/qml/referenceexamples/extended/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(extended
+qt_add_executable(extended
lineedit.cpp lineedit.h
main.cpp
)
diff --git a/examples/qml/referenceexamples/grouped/CMakeLists.txt b/examples/qml/referenceexamples/grouped/CMakeLists.txt
index f14028d422..e8eec7acc8 100644
--- a/examples/qml/referenceexamples/grouped/CMakeLists.txt
+++ b/examples/qml/referenceexamples/grouped/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(grouped
+qt_add_executable(grouped
birthdayparty.cpp birthdayparty.h
main.cpp
person.cpp person.h
diff --git a/examples/qml/referenceexamples/methods/CMakeLists.txt b/examples/qml/referenceexamples/methods/CMakeLists.txt
index 476fb9fd4b..e1eca9df13 100644
--- a/examples/qml/referenceexamples/methods/CMakeLists.txt
+++ b/examples/qml/referenceexamples/methods/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/referenceexamples/methods")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(methods
+qt_add_executable(methods
birthdayparty.cpp birthdayparty.h
main.cpp
person.cpp person.h
diff --git a/examples/qml/referenceexamples/properties/CMakeLists.txt b/examples/qml/referenceexamples/properties/CMakeLists.txt
index 8125f11659..e20d68fd48 100644
--- a/examples/qml/referenceexamples/properties/CMakeLists.txt
+++ b/examples/qml/referenceexamples/properties/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/referenceexamples/properties"
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(properties
+qt_add_executable(properties
birthdayparty.cpp birthdayparty.h
main.cpp
person.cpp person.h
diff --git a/examples/qml/referenceexamples/signal/CMakeLists.txt b/examples/qml/referenceexamples/signal/CMakeLists.txt
index 37a178a631..335741ebed 100644
--- a/examples/qml/referenceexamples/signal/CMakeLists.txt
+++ b/examples/qml/referenceexamples/signal/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(signal
+qt_add_executable(signal
birthdayparty.cpp birthdayparty.h
main.cpp
person.cpp person.h
diff --git a/examples/qml/referenceexamples/valuesource/CMakeLists.txt b/examples/qml/referenceexamples/valuesource/CMakeLists.txt
index ed7209730c..e2cf1f58cc 100644
--- a/examples/qml/referenceexamples/valuesource/CMakeLists.txt
+++ b/examples/qml/referenceexamples/valuesource/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(valuesource
+qt_add_executable(valuesource
birthdayparty.cpp birthdayparty.h
happybirthdaysong.cpp happybirthdaysong.h
main.cpp
diff --git a/examples/qml/shell/CMakeLists.txt b/examples/qml/shell/CMakeLists.txt
index 4b48ce26cc..5f646ac46e 100644
--- a/examples/qml/shell/CMakeLists.txt
+++ b/examples/qml/shell/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/shell")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(shell
+qt_add_executable(shell
main.cpp
)
target_link_libraries(shell PUBLIC
diff --git a/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt
index c2b21948bd..80b01a31d0 100644
--- a/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt
+++ b/examples/qml/tutorials/extending-qml/chapter1-basics/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(chapter1-basics
+qt_add_executable(chapter1-basics
main.cpp
piechart.cpp piechart.h
)
diff --git a/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt
index b47f42329e..e3ac7eeff5 100644
--- a/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt
+++ b/examples/qml/tutorials/extending-qml/chapter2-methods/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(chapter2-methods
+qt_add_executable(chapter2-methods
main.cpp
piechart.cpp piechart.h
)
diff --git a/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt
index de68f8f3b8..6c9f0b7e78 100644
--- a/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt
+++ b/examples/qml/tutorials/extending-qml/chapter3-bindings/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(chapter3-bindings
+qt_add_executable(chapter3-bindings
main.cpp
piechart.cpp piechart.h
)
diff --git a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt
index 45055fc2cb..cbf4067a3e 100644
--- a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt
+++ b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/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(chapter4-customPropertyTypes
+qt_add_executable(chapter4-customPropertyTypes
main.cpp
piechart.cpp piechart.h
pieslice.cpp pieslice.h
diff --git a/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt
index 48620d9c5c..e3a7593f2f 100644
--- a/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt
+++ b/examples/qml/tutorials/extending-qml/chapter5-listproperties/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(chapter5-listproperties
+qt_add_executable(chapter5-listproperties
main.cpp
piechart.cpp piechart.h
pieslice.cpp pieslice.h
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt
index 1e2b75e919..3a7face697 100644
--- a/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt
+++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/tutorials/extending-qml/chapt
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
-add_qt_gui_executable(chapter6-plugins
+qt_add_executable(chapter6-plugins
main.cpp
)
target_link_libraries(chapter6-plugins PUBLIC
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt
index fea7cce62d..941e68344d 100644
--- a/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt
+++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/tutorials/extending-qml/chapt
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
-add_qt_gui_executable(chapter6-plugins
+qt_add_executable(chapter6-plugins
main.cpp
)
target_link_libraries(chapter6-plugins PUBLIC
diff --git a/examples/qml/xmlhttprequest/CMakeLists.txt b/examples/qml/xmlhttprequest/CMakeLists.txt
index fd9f58e52a..7b6529d761 100644
--- a/examples/qml/xmlhttprequest/CMakeLists.txt
+++ b/examples/qml/xmlhttprequest/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS Qml)
-add_qt_gui_executable(xmlhttprequest
+qt_add_executable(xmlhttprequest
main.cpp
)
target_link_libraries(xmlhttprequest PUBLIC