summaryrefslogtreecommitdiffstats
path: root/examples/demos
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-16 16:28:25 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-20 09:13:19 +0200
commit8097af244f347b04a48556407fb0367456acf036 (patch)
treed77ec70eba122f9eeb4f26bc6c0b4b07873c59e9 /examples/demos
parent7fbc0017a8f5727b9546cb60829ef2de234cd716 (diff)
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661 Change-Id: Id97b3405ce69eb5db61790e8187a48762f3067db Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Diffstat (limited to 'examples/demos')
-rw-r--r--examples/demos/calqlatr/CMakeLists.txt2
-rw-r--r--examples/demos/clocks/CMakeLists.txt2
-rw-r--r--examples/demos/coffee/CMakeLists.txt2
-rw-r--r--examples/demos/maroon/CMakeLists.txt2
-rw-r--r--examples/demos/photoviewer/CMakeLists.txt2
-rw-r--r--examples/demos/rssnews/CMakeLists.txt2
-rw-r--r--examples/demos/samegame/CMakeLists.txt2
-rw-r--r--examples/demos/stocqt/CMakeLists.txt2
-rw-r--r--examples/demos/tweetsearch/CMakeLists.txt2
9 files changed, 9 insertions, 9 deletions
diff --git a/examples/demos/calqlatr/CMakeLists.txt b/examples/demos/calqlatr/CMakeLists.txt
index f343ebb41..1090cf1ce 100644
--- a/examples/demos/calqlatr/CMakeLists.txt
+++ b/examples/demos/calqlatr/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(calqlatr
+qt_add_executable(calqlatr
main.cpp
)
target_link_libraries(calqlatr PUBLIC
diff --git a/examples/demos/clocks/CMakeLists.txt b/examples/demos/clocks/CMakeLists.txt
index 13662b310..d449f510e 100644
--- a/examples/demos/clocks/CMakeLists.txt
+++ b/examples/demos/clocks/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(clocks
+qt_add_executable(clocks
main.cpp
)
target_link_libraries(clocks PUBLIC
diff --git a/examples/demos/coffee/CMakeLists.txt b/examples/demos/coffee/CMakeLists.txt
index 4a0c12d70..2cb849968 100644
--- a/examples/demos/coffee/CMakeLists.txt
+++ b/examples/demos/coffee/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(coffee
+qt_add_executable(coffee
main.cpp
)
target_compile_definitions(coffee PUBLIC
diff --git a/examples/demos/maroon/CMakeLists.txt b/examples/demos/maroon/CMakeLists.txt
index c51f5722c..d77eecb7a 100644
--- a/examples/demos/maroon/CMakeLists.txt
+++ b/examples/demos/maroon/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(maroon
+qt_add_executable(maroon
main.cpp
)
target_link_libraries(maroon PUBLIC
diff --git a/examples/demos/photoviewer/CMakeLists.txt b/examples/demos/photoviewer/CMakeLists.txt
index c3f9f1b46..22a61801b 100644
--- a/examples/demos/photoviewer/CMakeLists.txt
+++ b/examples/demos/photoviewer/CMakeLists.txt
@@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS XmlPatterns)
-add_qt_gui_executable(photoviewer
+qt_add_executable(photoviewer
main.cpp
)
target_link_libraries(photoviewer PUBLIC
diff --git a/examples/demos/rssnews/CMakeLists.txt b/examples/demos/rssnews/CMakeLists.txt
index 523908201..fe3f5a8cb 100644
--- a/examples/demos/rssnews/CMakeLists.txt
+++ b/examples/demos/rssnews/CMakeLists.txt
@@ -22,7 +22,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Xml)
find_package(Qt6 COMPONENTS XmlPatterns)
-add_qt_gui_executable(rssnews
+qt_add_executable(rssnews
main.cpp
)
target_link_libraries(rssnews PUBLIC
diff --git a/examples/demos/samegame/CMakeLists.txt b/examples/demos/samegame/CMakeLists.txt
index 9182c35c9..145ba0845 100644
--- a/examples/demos/samegame/CMakeLists.txt
+++ b/examples/demos/samegame/CMakeLists.txt
@@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS Sql)
-add_qt_gui_executable(samegame
+qt_add_executable(samegame
main.cpp
)
target_link_libraries(samegame PUBLIC
diff --git a/examples/demos/stocqt/CMakeLists.txt b/examples/demos/stocqt/CMakeLists.txt
index 18e21c391..36bcceab1 100644
--- a/examples/demos/stocqt/CMakeLists.txt
+++ b/examples/demos/stocqt/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(stocqt
+qt_add_executable(stocqt
main.cpp
)
target_link_libraries(stocqt PUBLIC
diff --git a/examples/demos/tweetsearch/CMakeLists.txt b/examples/demos/tweetsearch/CMakeLists.txt
index 2dc82e9af..d09d7dca0 100644
--- a/examples/demos/tweetsearch/CMakeLists.txt
+++ b/examples/demos/tweetsearch/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(tweetsearch
+qt_add_executable(tweetsearch
main.cpp
)
target_link_libraries(tweetsearch PUBLIC