summaryrefslogtreecommitdiffstats
path: root/examples/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus')
-rw-r--r--examples/dbus/chat/.prev_CMakeLists.txt2
-rw-r--r--examples/dbus/chat/CMakeLists.txt2
-rw-r--r--examples/dbus/complexpingpong/CMakeLists.txt4
-rw-r--r--examples/dbus/listnames/CMakeLists.txt2
-rw-r--r--examples/dbus/pingpong/CMakeLists.txt4
-rw-r--r--examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt2
-rw-r--r--examples/dbus/remotecontrolledcar/car/CMakeLists.txt2
-rw-r--r--examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt2
-rw-r--r--examples/dbus/remotecontrolledcar/controller/CMakeLists.txt2
9 files changed, 11 insertions, 11 deletions
diff --git a/examples/dbus/chat/.prev_CMakeLists.txt b/examples/dbus/chat/.prev_CMakeLists.txt
index a78bd3683d..601c28429e 100644
--- a/examples/dbus/chat/.prev_CMakeLists.txt
+++ b/examples/dbus/chat/.prev_CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS DBus)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(chat
+qt_add_executable(chat
chat.cpp chat.h
chatmainwindow.ui
chatsetnickname.ui
diff --git a/examples/dbus/chat/CMakeLists.txt b/examples/dbus/chat/CMakeLists.txt
index e39a960af0..2ff002dd8d 100644
--- a/examples/dbus/chat/CMakeLists.txt
+++ b/examples/dbus/chat/CMakeLists.txt
@@ -33,7 +33,7 @@ qt6_add_dbus_adaptor(chat_SRCS
chat_adaptor
)
# special case end
-add_qt_gui_executable(chat
+qt_add_executable(chat
chat.cpp chat.h
chatmainwindow.ui
chatsetnickname.ui
diff --git a/examples/dbus/complexpingpong/CMakeLists.txt b/examples/dbus/complexpingpong/CMakeLists.txt
index 6ea75ad4e7..414dbd8216 100644
--- a/examples/dbus/complexpingpong/CMakeLists.txt
+++ b/examples/dbus/complexpingpong/CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/complexpingpong")
find_package(Qt6 COMPONENTS DBus)
-add_qt_gui_executable(complexping
+qt_add_executable(complexping
complexping.cpp complexping.h
ping-common.h
)
@@ -48,7 +48,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/complexpingpong")
find_package(Qt6 COMPONENTS DBus)
-add_qt_gui_executable(complexpong
+qt_add_executable(complexpong
complexpong.cpp complexpong.h
)
target_link_libraries(complexpong PUBLIC
diff --git a/examples/dbus/listnames/CMakeLists.txt b/examples/dbus/listnames/CMakeLists.txt
index a5a1a4b94f..ed3a55118f 100644
--- a/examples/dbus/listnames/CMakeLists.txt
+++ b/examples/dbus/listnames/CMakeLists.txt
@@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/listnames")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS DBus)
-add_qt_gui_executable(listnames
+qt_add_executable(listnames
listnames.cpp
)
target_link_libraries(listnames PUBLIC
diff --git a/examples/dbus/pingpong/CMakeLists.txt b/examples/dbus/pingpong/CMakeLists.txt
index 1c488b857e..beea918511 100644
--- a/examples/dbus/pingpong/CMakeLists.txt
+++ b/examples/dbus/pingpong/CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/pingpong")
find_package(Qt6 COMPONENTS DBus)
-add_qt_gui_executable(ping
+qt_add_executable(ping
ping.cpp
ping-common.h
)
@@ -48,7 +48,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/pingpong")
find_package(Qt6 COMPONENTS DBus)
-add_qt_gui_executable(pong
+qt_add_executable(pong
ping-common.h
pong.cpp pong.h
)
diff --git a/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt
index e121c9677c..001a82e720 100644
--- a/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt
+++ b/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS DBus)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(car
+qt_add_executable(car
car.cpp car.h
main.cpp
)
diff --git a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt
index 63b047484d..533881d140 100644
--- a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt
+++ b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt
@@ -29,7 +29,7 @@ qt6_add_dbus_adaptor(car_SRCS
car_adaptor
)
# special case end
-add_qt_gui_executable(car
+qt_add_executable(car
car.cpp car.h
main.cpp
${car_SRCS} # special case
diff --git a/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt
index dab43f8076..f4f2443079 100644
--- a/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt
+++ b/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS DBus)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(controller
+qt_add_executable(controller
controller.cpp controller.h controller.ui
main.cpp
)
diff --git a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
index cca625fdea..d27d428b07 100644
--- a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
+++ b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
@@ -27,7 +27,7 @@ qt6_add_dbus_interface(controller_SRCS
car_interface
)
# special case end
-add_qt_gui_executable(controller
+qt_add_executable(controller
controller.cpp controller.h controller.ui
main.cpp
${controller_SRCS} # special case