diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 17:39:15 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-12-10 18:23:10 +0100 |
commit | 297916ecc50fa9b1c3afe7d8c799481d424133c7 (patch) | |
tree | bb47ca1f5d8cbfec056ae573acc0ad7ebc71a46a /examples/websockets/qmlwebsocketclient/CMakeLists.txt | |
parent | 8c66fb463ce3091015b17ffb1418c574f1ebef85 (diff) |
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary.
Task-number: QTBUG-87664
Change-Id: I75fa3596c08b5246a61572f31dc0b6ff1ccb8b2a
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/websockets/qmlwebsocketclient/CMakeLists.txt')
-rw-r--r-- | examples/websockets/qmlwebsocketclient/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/websockets/qmlwebsocketclient/CMakeLists.txt b/examples/websockets/qmlwebsocketclient/CMakeLists.txt index a920c4a..d1b8ff0 100644 --- a/examples/websockets/qmlwebsocketclient/CMakeLists.txt +++ b/examples/websockets/qmlwebsocketclient/CMakeLists.txt @@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS WebSockets) qt_add_executable(qmlwebsocketclient main.cpp ) +set_target_properties(qmlwebsocketclient PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE FALSE +) target_link_libraries(qmlwebsocketclient PUBLIC Qt::Core Qt::Gui |