From edfb8943fc7959c66b58f179da13fecbbf369dfc Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 26 Oct 2020 17:32:24 +0100 Subject: 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 --- examples/quickcontrols2/texteditor/.prev_CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/quickcontrols2/texteditor/.prev_CMakeLists.txt') diff --git a/examples/quickcontrols2/texteditor/.prev_CMakeLists.txt b/examples/quickcontrols2/texteditor/.prev_CMakeLists.txt index aeda7622..a3075353 100644 --- a/examples/quickcontrols2/texteditor/.prev_CMakeLists.txt +++ b/examples/quickcontrols2/texteditor/.prev_CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(texteditor documenthandler.cpp documenthandler.h texteditor.cpp ) +set_target_properties(texteditor PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(texteditor PUBLIC Qt::Core Qt::Gui -- cgit v1.2.3