From d60ebdda33f112bc0bcf619a1307250710f7e8d5 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 26 Oct 2020 17:34:34 +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: I26917656f6f2b653649765ebbea4e3f348b22ae7 Reviewed-by: Joerg Bornemann --- examples/linguist/hellotr/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/linguist/hellotr') diff --git a/examples/linguist/hellotr/CMakeLists.txt b/examples/linguist/hellotr/CMakeLists.txt index 06ad4c18b..c9c65ac6c 100644 --- a/examples/linguist/hellotr/CMakeLists.txt +++ b/examples/linguist/hellotr/CMakeLists.txt @@ -22,6 +22,10 @@ find_package(Qt6 COMPONENTS Widgets) qt_add_executable(hellotr main.cpp ) +set_target_properties(hellotr PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(hellotr PUBLIC Qt::Core Qt::Gui -- cgit v1.2.3