summaryrefslogtreecommitdiffstats
path: root/examples/widgets/desktop/screenshot
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/desktop/screenshot')
-rw-r--r--examples/widgets/desktop/screenshot/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/widgets/desktop/screenshot/CMakeLists.txt b/examples/widgets/desktop/screenshot/CMakeLists.txt
index 979dee6ca7..2dc1b9909e 100644
--- a/examples/widgets/desktop/screenshot/CMakeLists.txt
+++ b/examples/widgets/desktop/screenshot/CMakeLists.txt
@@ -23,6 +23,10 @@ qt_add_executable(screenshot
main.cpp
screenshot.cpp screenshot.h
)
+set_target_properties(screenshot PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(screenshot PUBLIC
Qt::Core
Qt::Gui