summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/echoplugin
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tools/echoplugin')
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt4
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt4
-rw-r--r--examples/widgets/tools/echoplugin/plugin/CMakeLists.txt4
3 files changed, 12 insertions, 0 deletions
diff --git a/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt
index 6bba4b9f77..1262ce5452 100644
--- a/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt
+++ b/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(echoplugin
echowindow.cpp echowindow.h
main.cpp
)
+set_target_properties(echoplugin PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(echoplugin PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt
index 4ddd0bc4d7..3814fb235d 100644
--- a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt
+++ b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(echopluginwindow # special case: renamed target
echowindow.cpp echowindow.h
main.cpp
)
+set_target_properties(echopluginwindow PROPERTIES # special case
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(echopluginwindow PUBLIC # special case
Qt::Core
Qt::Gui
diff --git a/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt
index 1ca49a1aca..3e605cd2c9 100644
--- a/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt
+++ b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt
@@ -23,6 +23,10 @@ qt_add_plugin(echoplugin)
target_sources(echoplugin PRIVATE
echoplugin.cpp echoplugin.h
)
+set_target_properties(echoplugin PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_include_directories(echoplugin PUBLIC
../echowindow
)