summaryrefslogtreecommitdiffstats
path: root/examples/dbus/remotecontrolledcar/car
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus/remotecontrolledcar/car')
-rw-r--r--examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt2
-rw-r--r--examples/dbus/remotecontrolledcar/car/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
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