diff options
Diffstat (limited to 'examples/corelib')
14 files changed, 56 insertions, 0 deletions
diff --git a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt index 837e686465..b01023b009 100644 --- a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt +++ b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(localfortuneclient client.cpp client.h main.cpp ) +set_target_properties(localfortuneclient PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(localfortuneclient PUBLIC Qt::Core Qt::Gui diff --git a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt index e459913c6f..86cd90a3cf 100644 --- a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt +++ b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(localfortuneserver main.cpp server.cpp server.h ) +set_target_properties(localfortuneserver PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(localfortuneserver PUBLIC Qt::Core Qt::Gui diff --git a/examples/corelib/ipc/sharedmemory/CMakeLists.txt b/examples/corelib/ipc/sharedmemory/CMakeLists.txt index 5205cc654b..74580e9472 100644 --- a/examples/corelib/ipc/sharedmemory/CMakeLists.txt +++ b/examples/corelib/ipc/sharedmemory/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(sharedmemory dialog.cpp dialog.h dialog.ui main.cpp ) +set_target_properties(sharedmemory PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(sharedmemory PUBLIC Qt::Core Qt::Gui diff --git a/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt b/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt index d22ad9d812..977c072e00 100644 --- a/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt +++ b/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(mimetypebrowser mainwindow.cpp mainwindow.h mimetypemodel.cpp mimetypemodel.h ) +set_target_properties(mimetypebrowser PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE FALSE +) target_link_libraries(mimetypebrowser PUBLIC Qt::Core Qt::Gui diff --git a/examples/corelib/serialization/cbordump/CMakeLists.txt b/examples/corelib/serialization/cbordump/CMakeLists.txt index 7397d8c1b3..542c6f5ad0 100644 --- a/examples/corelib/serialization/cbordump/CMakeLists.txt +++ b/examples/corelib/serialization/cbordump/CMakeLists.txt @@ -20,6 +20,10 @@ find_package(Qt6 COMPONENTS Core) qt_add_executable(cbordump main.cpp ) +set_target_properties(cbordump PROPERTIES + WIN32_EXECUTABLE FALSE + MACOSX_BUNDLE FALSE +) target_link_libraries(cbordump PUBLIC Qt::Core ) diff --git a/examples/corelib/serialization/convert/CMakeLists.txt b/examples/corelib/serialization/convert/CMakeLists.txt index 8c2d4c0132..0f2897441a 100644 --- a/examples/corelib/serialization/convert/CMakeLists.txt +++ b/examples/corelib/serialization/convert/CMakeLists.txt @@ -27,6 +27,10 @@ qt_add_executable(convert textconverter.cpp textconverter.h xmlconverter.cpp xmlconverter.h ) +set_target_properties(convert PROPERTIES + WIN32_EXECUTABLE FALSE + MACOSX_BUNDLE FALSE +) target_link_libraries(convert PUBLIC Qt::Core ) diff --git a/examples/corelib/serialization/savegame/CMakeLists.txt b/examples/corelib/serialization/savegame/CMakeLists.txt index 68adf45209..b0b410bbc5 100644 --- a/examples/corelib/serialization/savegame/CMakeLists.txt +++ b/examples/corelib/serialization/savegame/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(savegame level.cpp level.h main.cpp ) +set_target_properties(savegame PROPERTIES + WIN32_EXECUTABLE FALSE + MACOSX_BUNDLE FALSE +) target_link_libraries(savegame PUBLIC Qt::Core ) 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 ) diff --git a/examples/corelib/tools/contiguouscache/CMakeLists.txt b/examples/corelib/tools/contiguouscache/CMakeLists.txt index a8aef5f94b..7650bdd4ac 100644 --- a/examples/corelib/tools/contiguouscache/CMakeLists.txt +++ b/examples/corelib/tools/contiguouscache/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(contiguouscache main.cpp randomlistmodel.cpp randomlistmodel.h ) +set_target_properties(contiguouscache PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(contiguouscache PUBLIC Qt::Core Qt::Gui diff --git a/examples/corelib/tools/customtype/CMakeLists.txt b/examples/corelib/tools/customtype/CMakeLists.txt index e36157e9f6..68c1784bde 100644 --- a/examples/corelib/tools/customtype/CMakeLists.txt +++ b/examples/corelib/tools/customtype/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(customtype main.cpp message.cpp message.h ) +set_target_properties(customtype PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(customtype PUBLIC Qt::Core Qt::Gui diff --git a/examples/corelib/tools/customtypesending/CMakeLists.txt b/examples/corelib/tools/customtypesending/CMakeLists.txt index 0b1af630ae..1b67e23220 100644 --- a/examples/corelib/tools/customtypesending/CMakeLists.txt +++ b/examples/corelib/tools/customtypesending/CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(customtypesending message.cpp message.h window.cpp window.h ) +set_target_properties(customtypesending PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(customtypesending PUBLIC Qt::Core Qt::Gui |