summaryrefslogtreecommitdiffstats
path: root/examples/qtconcurrent
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 16:22:32 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-27 12:49:39 +0100
commit397b3725176780d8888f8499cac0127dbb7df2c7 (patch)
treeb7c38898d1a7d2a2278b010b034b9c605c785c50 /examples/qtconcurrent
parent65fe5b2ce22797389aa074ef2c30e873a3c38d48 (diff)
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary. Task-number: QTBUG-87664 Task-number: QTBUG-86827 Change-Id: I7677449a26d51fa853bd67bab6b3b61afbd2b12f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/qtconcurrent')
-rw-r--r--examples/qtconcurrent/imagescaling/CMakeLists.txt4
-rw-r--r--examples/qtconcurrent/map/.prev_CMakeLists.txt4
-rw-r--r--examples/qtconcurrent/map/CMakeLists.txt4
-rw-r--r--examples/qtconcurrent/progressdialog/CMakeLists.txt4
-rw-r--r--examples/qtconcurrent/runfunction/CMakeLists.txt4
-rw-r--r--examples/qtconcurrent/wordcount/CMakeLists.txt4
6 files changed, 24 insertions, 0 deletions
diff --git a/examples/qtconcurrent/imagescaling/CMakeLists.txt b/examples/qtconcurrent/imagescaling/CMakeLists.txt
index 8956f8a2a1..b1065e877b 100644
--- a/examples/qtconcurrent/imagescaling/CMakeLists.txt
+++ b/examples/qtconcurrent/imagescaling/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(imagescaling
imagescaling.cpp imagescaling.h
main.cpp
)
+set_target_properties(imagescaling PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(imagescaling PUBLIC
Qt::Concurrent
Qt::Core
diff --git a/examples/qtconcurrent/map/.prev_CMakeLists.txt b/examples/qtconcurrent/map/.prev_CMakeLists.txt
index 5ab5b093a4..0e3215c225 100644
--- a/examples/qtconcurrent/map/.prev_CMakeLists.txt
+++ b/examples/qtconcurrent/map/.prev_CMakeLists.txt
@@ -22,6 +22,10 @@ find_package(Qt6 COMPONENTS Concurrent)
qt_add_executable(mapdemo
main.cpp
)
+set_target_properties(mapdemo PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(mapdemo PUBLIC
Qt::Concurrent
Qt::Core
diff --git a/examples/qtconcurrent/map/CMakeLists.txt b/examples/qtconcurrent/map/CMakeLists.txt
index 3a977eeaaf..08589f1b3f 100644
--- a/examples/qtconcurrent/map/CMakeLists.txt
+++ b/examples/qtconcurrent/map/CMakeLists.txt
@@ -22,6 +22,10 @@ find_package(Qt6 COMPONENTS Concurrent)
qt_add_executable(mapdemo
main.cpp
)
+set_target_properties(mapdemo PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(mapdemo PUBLIC
Qt::Concurrent
Qt::Core
diff --git a/examples/qtconcurrent/progressdialog/CMakeLists.txt b/examples/qtconcurrent/progressdialog/CMakeLists.txt
index d91ba64b91..00dd8215ef 100644
--- a/examples/qtconcurrent/progressdialog/CMakeLists.txt
+++ b/examples/qtconcurrent/progressdialog/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Widgets)
qt_add_executable(progressdialog
main.cpp
)
+set_target_properties(progressdialog PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(progressdialog PUBLIC
Qt::Concurrent
Qt::Core
diff --git a/examples/qtconcurrent/runfunction/CMakeLists.txt b/examples/qtconcurrent/runfunction/CMakeLists.txt
index ffd5b904c9..d1f0321648 100644
--- a/examples/qtconcurrent/runfunction/CMakeLists.txt
+++ b/examples/qtconcurrent/runfunction/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Widgets)
qt_add_executable(runfunction
main.cpp
)
+set_target_properties(runfunction PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(runfunction PUBLIC
Qt::Concurrent
Qt::Core
diff --git a/examples/qtconcurrent/wordcount/CMakeLists.txt b/examples/qtconcurrent/wordcount/CMakeLists.txt
index b3636fca76..10e09bf0f6 100644
--- a/examples/qtconcurrent/wordcount/CMakeLists.txt
+++ b/examples/qtconcurrent/wordcount/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Widgets)
qt_add_executable(wordcount
main.cpp
)
+set_target_properties(wordcount PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(wordcount PUBLIC
Qt::Concurrent
Qt::Core