diff options
Diffstat (limited to 'examples/dbus/remotecontrolledcar/car')
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/CMakeLists.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt index 001a82e720..86b3fb8e52 100644 --- a/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(car car.cpp car.h main.cpp ) +set_target_properties(car PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(car PUBLIC Qt::Core Qt::DBus diff --git a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt index 533881d140..e20f657a9a 100644 --- a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt @@ -34,6 +34,10 @@ qt_add_executable(car main.cpp ${car_SRCS} # special case ) +set_target_properties(car PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(car PUBLIC Qt::Core Qt::DBus |