summaryrefslogtreecommitdiffstats
path: root/examples/dbus/remotecontrolledcar/controller
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus/remotecontrolledcar/controller')
-rw-r--r--examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt4
-rw-r--r--examples/dbus/remotecontrolledcar/controller/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt
index f4f2443079..f1916c93f2 100644
--- a/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt
+++ b/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(controller
controller.cpp controller.h controller.ui
main.cpp
)
+set_target_properties(controller PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(controller PUBLIC
Qt::Core
Qt::DBus
diff --git a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
index d27d428b07..f2433a43a2 100644
--- a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
+++ b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
@@ -32,6 +32,10 @@ qt_add_executable(controller
main.cpp
${controller_SRCS} # special case
)
+set_target_properties(controller PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(controller PUBLIC
Qt::Core
Qt::DBus