diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 17:32:24 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 21:20:04 +0100 |
commit | edfb8943fc7959c66b58f179da13fecbbf369dfc (patch) | |
tree | 0c7f451d8dbb3184c832151163f3efc8348557ed /examples/quickcontrols2/swipetoremove | |
parent | 04913fefc9f628407fbc432fc903bbb1559de42e (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: I1113701f04a16b05b03fbb1a49f131c84659cdcb
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/quickcontrols2/swipetoremove')
-rw-r--r-- | examples/quickcontrols2/swipetoremove/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quickcontrols2/swipetoremove/CMakeLists.txt b/examples/quickcontrols2/swipetoremove/CMakeLists.txt index e27a9b94..93444cfd 100644 --- a/examples/quickcontrols2/swipetoremove/CMakeLists.txt +++ b/examples/quickcontrols2/swipetoremove/CMakeLists.txt @@ -22,6 +22,10 @@ find_package(Qt6 COMPONENTS Qml) qt_add_executable(swipetoremove swipetoremove.cpp ) +set_target_properties(swipetoremove PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(swipetoremove PUBLIC Qt::Core Qt::Gui |