diff options
Diffstat (limited to 'examples/corelib/threads')
4 files changed, 16 insertions, 0 deletions
diff --git a/examples/corelib/threads/mandelbrot/CMakeLists.txt b/examples/corelib/threads/mandelbrot/CMakeLists.txt index 4147900226..96136522f7 100644 --- a/examples/corelib/threads/mandelbrot/CMakeLists.txt +++ b/examples/corelib/threads/mandelbrot/CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(mandelbrot mandelbrotwidget.cpp mandelbrotwidget.h renderthread.cpp renderthread.h ) +set_target_properties(mandelbrot PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(mandelbrot PUBLIC Qt::Core Qt::Gui diff --git a/examples/corelib/threads/queuedcustomtype/CMakeLists.txt b/examples/corelib/threads/queuedcustomtype/CMakeLists.txt index 62b1cd5e9a..93c26318f6 100644 --- a/examples/corelib/threads/queuedcustomtype/CMakeLists.txt +++ b/examples/corelib/threads/queuedcustomtype/CMakeLists.txt @@ -25,6 +25,10 @@ qt_add_executable(queuedcustomtype renderthread.cpp renderthread.h window.cpp window.h ) +set_target_properties(queuedcustomtype PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(queuedcustomtype PUBLIC Qt::Core Qt::Gui diff --git a/examples/corelib/threads/semaphores/CMakeLists.txt b/examples/corelib/threads/semaphores/CMakeLists.txt index 117f761fd5..f79e241fcc 100644 --- a/examples/corelib/threads/semaphores/CMakeLists.txt +++ b/examples/corelib/threads/semaphores/CMakeLists.txt @@ -20,6 +20,10 @@ find_package(Qt6 COMPONENTS Core) qt_add_executable(semaphores semaphores.cpp ) +set_target_properties(semaphores PROPERTIES + WIN32_EXECUTABLE FALSE + MACOSX_BUNDLE FALSE +) target_link_libraries(semaphores PUBLIC Qt::Core ) diff --git a/examples/corelib/threads/waitconditions/CMakeLists.txt b/examples/corelib/threads/waitconditions/CMakeLists.txt index 0449e537c5..9581dd58e9 100644 --- a/examples/corelib/threads/waitconditions/CMakeLists.txt +++ b/examples/corelib/threads/waitconditions/CMakeLists.txt @@ -20,6 +20,10 @@ find_package(Qt6 COMPONENTS Core) qt_add_executable(waitconditions waitconditions.cpp ) +set_target_properties(waitconditions PROPERTIES + WIN32_EXECUTABLE FALSE + MACOSX_BUNDLE FALSE +) target_link_libraries(waitconditions PUBLIC Qt::Core ) |