diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-12-08 16:42:09 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2021-12-13 14:16:26 +0000 |
commit | 51f22a3a0495d8418a5d6dd0f09771c0347441b9 (patch) | |
tree | 34b5c133cd5e808e98c63b1e801400b716e34d9d | |
parent | 9ca7429dff4b5d46114ca36147f65b61d5e61290 (diff) |
Examples: Remove remaining conversion markers in CMakeLists.txt
Pick-to: 6.3
Change-Id: Ia5d474a3efd6aadbd0ef1537318f2f24e6c24fee
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
271 files changed, 47 insertions, 633 deletions
diff --git a/examples/corelib/CMakeLists.txt b/examples/corelib/CMakeLists.txt index 30e2c8cd1f..aff53c8202 100644 --- a/examples/corelib/CMakeLists.txt +++ b/examples/corelib/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from corelib.pro. - add_subdirectory(bindableproperties) add_subdirectory(ipc) add_subdirectory(mimetypes) diff --git a/examples/corelib/ipc/CMakeLists.txt b/examples/corelib/ipc/CMakeLists.txt index 214fa4c553..9cc34c8ea2 100644 --- a/examples/corelib/ipc/CMakeLists.txt +++ b/examples/corelib/ipc/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from ipc.pro. - if(NOT TARGET Qt::Widgets) return() endif() diff --git a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt index c3287abe10..658832307d 100644 --- a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt +++ b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from localfortuneclient.pro. - cmake_minimum_required(VERSION 3.16) project(localfortuneclient LANGUAGES CXX) diff --git a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt index f5a2c7cb18..a08502ea4e 100644 --- a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt +++ b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from localfortuneserver.pro. - cmake_minimum_required(VERSION 3.16) project(localfortuneserver LANGUAGES CXX) diff --git a/examples/corelib/ipc/sharedmemory/CMakeLists.txt b/examples/corelib/ipc/sharedmemory/CMakeLists.txt index 3dbbb7094a..dc75abd637 100644 --- a/examples/corelib/ipc/sharedmemory/CMakeLists.txt +++ b/examples/corelib/ipc/sharedmemory/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from sharedmemory.pro. - cmake_minimum_required(VERSION 3.16) project(sharedmemory LANGUAGES CXX) diff --git a/examples/corelib/mimetypes/CMakeLists.txt b/examples/corelib/mimetypes/CMakeLists.txt index 3124006aaa..79561aa0be 100644 --- a/examples/corelib/mimetypes/CMakeLists.txt +++ b/examples/corelib/mimetypes/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from mimetypes.pro. - if(TARGET Qt::Widgets) qt_internal_add_example(mimetypebrowser) endif() diff --git a/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt b/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt index 59d249abf9..3e2fb51411 100644 --- a/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt +++ b/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from mimetypebrowser.pro. - cmake_minimum_required(VERSION 3.16) project(mimetypebrowser LANGUAGES CXX) diff --git a/examples/corelib/serialization/CMakeLists.txt b/examples/corelib/serialization/CMakeLists.txt index 486f5d0c14..7f3701ad99 100644 --- a/examples/corelib/serialization/CMakeLists.txt +++ b/examples/corelib/serialization/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from serialization.pro. - qt_internal_add_example(cbordump) qt_internal_add_example(convert) qt_internal_add_example(savegame) diff --git a/examples/corelib/serialization/cbordump/CMakeLists.txt b/examples/corelib/serialization/cbordump/CMakeLists.txt index f9ae726918..f37c39295e 100644 --- a/examples/corelib/serialization/cbordump/CMakeLists.txt +++ b/examples/corelib/serialization/cbordump/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from cbordump.pro. - cmake_minimum_required(VERSION 3.16) project(cbordump LANGUAGES CXX) diff --git a/examples/corelib/serialization/convert/CMakeLists.txt b/examples/corelib/serialization/convert/CMakeLists.txt index b081e1defd..bf2aa15f16 100644 --- a/examples/corelib/serialization/convert/CMakeLists.txt +++ b/examples/corelib/serialization/convert/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from convert.pro. - cmake_minimum_required(VERSION 3.16) project(convert LANGUAGES CXX) diff --git a/examples/corelib/serialization/savegame/CMakeLists.txt b/examples/corelib/serialization/savegame/CMakeLists.txt index 7ac34c10dd..3a04bb8c61 100644 --- a/examples/corelib/serialization/savegame/CMakeLists.txt +++ b/examples/corelib/serialization/savegame/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from savegame.pro. - cmake_minimum_required(VERSION 3.16) project(savegame LANGUAGES CXX) diff --git a/examples/corelib/threads/CMakeLists.txt b/examples/corelib/threads/CMakeLists.txt index 848880d076..fab084385f 100644 --- a/examples/corelib/threads/CMakeLists.txt +++ b/examples/corelib/threads/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from threads.pro. - qt_internal_add_example(semaphores) qt_internal_add_example(waitconditions) if(TARGET Qt::Widgets) diff --git a/examples/corelib/threads/mandelbrot/CMakeLists.txt b/examples/corelib/threads/mandelbrot/CMakeLists.txt index 3a0eebf2b7..6ab2f4df72 100644 --- a/examples/corelib/threads/mandelbrot/CMakeLists.txt +++ b/examples/corelib/threads/mandelbrot/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from mandelbrot.pro. - cmake_minimum_required(VERSION 3.16) project(mandelbrot LANGUAGES CXX) diff --git a/examples/corelib/threads/queuedcustomtype/CMakeLists.txt b/examples/corelib/threads/queuedcustomtype/CMakeLists.txt index 332a834e51..97553952ee 100644 --- a/examples/corelib/threads/queuedcustomtype/CMakeLists.txt +++ b/examples/corelib/threads/queuedcustomtype/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from queuedcustomtype.pro. - cmake_minimum_required(VERSION 3.16) project(queuedcustomtype LANGUAGES CXX) diff --git a/examples/corelib/threads/semaphores/CMakeLists.txt b/examples/corelib/threads/semaphores/CMakeLists.txt index e4129d5b90..2268b1ce98 100644 --- a/examples/corelib/threads/semaphores/CMakeLists.txt +++ b/examples/corelib/threads/semaphores/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from semaphores.pro. - cmake_minimum_required(VERSION 3.16) project(semaphores LANGUAGES CXX) diff --git a/examples/corelib/threads/waitconditions/CMakeLists.txt b/examples/corelib/threads/waitconditions/CMakeLists.txt index a1e81b63d7..f1e2c7826a 100644 --- a/examples/corelib/threads/waitconditions/CMakeLists.txt +++ b/examples/corelib/threads/waitconditions/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from waitconditions.pro. - cmake_minimum_required(VERSION 3.16) project(waitconditions LANGUAGES CXX) diff --git a/examples/corelib/tools/CMakeLists.txt b/examples/corelib/tools/CMakeLists.txt index 27e7699f26..a8db41edee 100644 --- a/examples/corelib/tools/CMakeLists.txt +++ b/examples/corelib/tools/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tools.pro. - if(NOT TARGET Qt::Widgets) return() endif() diff --git a/examples/corelib/tools/contiguouscache/CMakeLists.txt b/examples/corelib/tools/contiguouscache/CMakeLists.txt index 26968b7825..5ad5d5d83f 100644 --- a/examples/corelib/tools/contiguouscache/CMakeLists.txt +++ b/examples/corelib/tools/contiguouscache/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from contiguouscache.pro. - cmake_minimum_required(VERSION 3.16) project(contiguouscache LANGUAGES CXX) diff --git a/examples/corelib/tools/customtype/CMakeLists.txt b/examples/corelib/tools/customtype/CMakeLists.txt index f2a819428a..037126cb90 100644 --- a/examples/corelib/tools/customtype/CMakeLists.txt +++ b/examples/corelib/tools/customtype/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from customtype.pro. - cmake_minimum_required(VERSION 3.16) project(customtype LANGUAGES CXX) diff --git a/examples/corelib/tools/customtypesending/CMakeLists.txt b/examples/corelib/tools/customtypesending/CMakeLists.txt index 9b32700aeb..07fcab0da1 100644 --- a/examples/corelib/tools/customtypesending/CMakeLists.txt +++ b/examples/corelib/tools/customtypesending/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from customtypesending.pro. - cmake_minimum_required(VERSION 3.16) project(customtypesending LANGUAGES CXX) diff --git a/examples/dbus/CMakeLists.txt b/examples/dbus/CMakeLists.txt index ac941a3218..d61f1db460 100644 --- a/examples/dbus/CMakeLists.txt +++ b/examples/dbus/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dbus.pro. - if(NOT TARGET Qt::DBus) return() endif() diff --git a/examples/dbus/chat/CMakeLists.txt b/examples/dbus/chat/CMakeLists.txt index e5ef5956f6..8d5354212f 100644 --- a/examples/dbus/chat/CMakeLists.txt +++ b/examples/dbus/chat/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from chat.pro. - cmake_minimum_required(VERSION 3.16) project(chat LANGUAGES CXX) @@ -17,7 +15,6 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/chat") find_package(Qt6 REQUIRED COMPONENTS Core DBus Gui Widgets) -# special case begin set(chat_SRCS) qt_add_dbus_interface(chat_SRCS org.example.chat.xml @@ -29,12 +26,12 @@ qt_add_dbus_adaptor(chat_SRCS QObject chat_adaptor ) -# special case end + qt_add_executable(chat chat.cpp chat.h chatmainwindow.ui chatsetnickname.ui - ${chat_SRCS} # special case + ${chat_SRCS} ) set_target_properties(chat PROPERTIES WIN32_EXECUTABLE TRUE diff --git a/examples/dbus/listnames/CMakeLists.txt b/examples/dbus/listnames/CMakeLists.txt index 13ec3b5572..589c9ca269 100644 --- a/examples/dbus/listnames/CMakeLists.txt +++ b/examples/dbus/listnames/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from listnames.pro. - cmake_minimum_required(VERSION 3.16) project(listnames LANGUAGES CXX) diff --git a/examples/dbus/remotecontrolledcar/CMakeLists.txt b/examples/dbus/remotecontrolledcar/CMakeLists.txt index 86f9f03ccc..259d3a0470 100644 --- a/examples/dbus/remotecontrolledcar/CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/CMakeLists.txt @@ -1,4 +1,2 @@ -# Generated from remotecontrolledcar.pro. - qt_internal_add_example(car) qt_internal_add_example(controller) diff --git a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt index fa7a0a4b09..a40213697e 100644 --- a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from car.pro. - cmake_minimum_required(VERSION 3.16) project(car LANGUAGES CXX) @@ -17,7 +15,6 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/remotecontrolledcar/car") find_package(Qt6 REQUIRED COMPONENTS Core DBus Gui Widgets) -# special case begin set(car_SRCS) qt_add_dbus_adaptor(car_SRCS car.xml @@ -25,11 +22,11 @@ qt_add_dbus_adaptor(car_SRCS "" # empty parent_class value on purpose to not pass -l flag car_adaptor ) -# special case end + qt_add_executable(car car.cpp car.h main.cpp - ${car_SRCS} # special case + ${car_SRCS} ) set_target_properties(car PROPERTIES WIN32_EXECUTABLE TRUE diff --git a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt index 09057f1cda..716fa7fe0d 100644 --- a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from controller.pro. - cmake_minimum_required(VERSION 3.16) project(controller LANGUAGES CXX) @@ -17,17 +15,16 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/remotecontrolledcar/controll find_package(Qt6 REQUIRED COMPONENTS Core DBus Gui Widgets) -# special case begin set(controller_SRCS) qt_add_dbus_interface(controller_SRCS car.xml car_interface ) -# special case end + qt_add_executable(controller controller.cpp controller.h controller.ui main.cpp - ${controller_SRCS} # special case + ${controller_SRCS} ) set_target_properties(controller PROPERTIES WIN32_EXECUTABLE TRUE diff --git a/examples/embedded/CMakeLists.txt b/examples/embedded/CMakeLists.txt index 5f4bcc5628..143f40cbcb 100644 --- a/examples/embedded/CMakeLists.txt +++ b/examples/embedded/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from embedded.pro. - if(NOT TARGET Qt::Gui OR (NOT embedded AND NOT x11)) return() endif() diff --git a/examples/embedded/digiflip/CMakeLists.txt b/examples/embedded/digiflip/CMakeLists.txt index 3dc466a4e9..2994662e14 100644 --- a/examples/embedded/digiflip/CMakeLists.txt +++ b/examples/embedded/digiflip/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from digiflip.pro. - cmake_minimum_required(VERSION 3.16) project(digiflip LANGUAGES CXX) diff --git a/examples/embedded/flickable/CMakeLists.txt b/examples/embedded/flickable/CMakeLists.txt index 215f2693ce..abe99377c6 100644 --- a/examples/embedded/flickable/CMakeLists.txt +++ b/examples/embedded/flickable/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from flickable.pro. - cmake_minimum_required(VERSION 3.16) project(flickable LANGUAGES CXX) diff --git a/examples/embedded/flightinfo/CMakeLists.txt b/examples/embedded/flightinfo/CMakeLists.txt index 5eb66bd0b1..988bec4ee2 100644 --- a/examples/embedded/flightinfo/CMakeLists.txt +++ b/examples/embedded/flightinfo/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from flightinfo.pro. - cmake_minimum_required(VERSION 3.16) project(flightinfo LANGUAGES CXX) diff --git a/examples/embedded/lightmaps/CMakeLists.txt b/examples/embedded/lightmaps/CMakeLists.txt index 4c9eb977c4..adbba07655 100644 --- a/examples/embedded/lightmaps/CMakeLists.txt +++ b/examples/embedded/lightmaps/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from lightmaps.pro. - cmake_minimum_required(VERSION 3.16) project(lightmaps LANGUAGES CXX) diff --git a/examples/embedded/raycasting/CMakeLists.txt b/examples/embedded/raycasting/CMakeLists.txt index 8828ffccd8..e7c08ed54a 100644 --- a/examples/embedded/raycasting/CMakeLists.txt +++ b/examples/embedded/raycasting/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from raycasting.pro. - cmake_minimum_required(VERSION 3.16) project(raycasting LANGUAGES CXX) diff --git a/examples/embedded/styleexample/CMakeLists.txt b/examples/embedded/styleexample/CMakeLists.txt index c04dee4083..340ce67133 100644 --- a/examples/embedded/styleexample/CMakeLists.txt +++ b/examples/embedded/styleexample/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from styleexample.pro. - cmake_minimum_required(VERSION 3.16) project(styleexample LANGUAGES CXX) diff --git a/examples/gui/CMakeLists.txt b/examples/gui/CMakeLists.txt index d952899f55..0abfb9ba86 100644 --- a/examples/gui/CMakeLists.txt +++ b/examples/gui/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from gui.pro. - if(NOT TARGET Qt::Gui) return() endif() diff --git a/examples/gui/analogclock/CMakeLists.txt b/examples/gui/analogclock/CMakeLists.txt index 4c694e425e..0cd882a722 100644 --- a/examples/gui/analogclock/CMakeLists.txt +++ b/examples/gui/analogclock/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from analogclock.pro. - cmake_minimum_required(VERSION 3.16) project(analogclock LANGUAGES CXX) @@ -14,33 +12,31 @@ if(NOT DEFINED INSTALL_EXAMPLESDIR) set(INSTALL_EXAMPLESDIR "examples") endif() -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/gui/gui_analogclock") # special case +set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/gui/gui_analogclock") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) -qt_add_executable(gui_analogclock # special case: renamed target +qt_add_executable(gui_analogclock ../rasterwindow/rasterwindow.cpp ../rasterwindow/rasterwindow.h main.cpp ) -set_target_properties(gui_analogclock PROPERTIES # special case +set_target_properties(gui_analogclock PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) -target_include_directories(gui_analogclock PUBLIC # special case +target_include_directories(gui_analogclock PUBLIC ../rasterwindow ) -# special case begin -target_link_libraries(gui_analogclock PUBLIC # special case +target_link_libraries(gui_analogclock PUBLIC Qt::Gui ) -# special case end -target_link_libraries(gui_analogclock PUBLIC # special case +target_link_libraries(gui_analogclock PUBLIC Qt::Core Qt::Gui ) -install(TARGETS gui_analogclock # special case +install(TARGETS gui_analogclock RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/gui/rasterwindow/CMakeLists.txt b/examples/gui/rasterwindow/CMakeLists.txt index 6f41e43e8a..8d3efdd9c9 100644 --- a/examples/gui/rasterwindow/CMakeLists.txt +++ b/examples/gui/rasterwindow/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from rasterwindow.pro. - cmake_minimum_required(VERSION 3.16) project(rasterwindow LANGUAGES CXX) diff --git a/examples/network/CMakeLists.txt b/examples/network/CMakeLists.txt index fd61e75aef..df65fad19c 100644 --- a/examples/network/CMakeLists.txt +++ b/examples/network/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from network.pro. - if(NOT TARGET Qt::Network) return() endif() diff --git a/examples/network/blockingfortuneclient/CMakeLists.txt b/examples/network/blockingfortuneclient/CMakeLists.txt index 16f05b10e9..712b8a3185 100644 --- a/examples/network/blockingfortuneclient/CMakeLists.txt +++ b/examples/network/blockingfortuneclient/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from blockingfortuneclient.pro. - cmake_minimum_required(VERSION 3.16) project(blockingfortuneclient LANGUAGES CXX) diff --git a/examples/network/broadcastreceiver/CMakeLists.txt b/examples/network/broadcastreceiver/CMakeLists.txt index 82fb9efbbe..503626057b 100644 --- a/examples/network/broadcastreceiver/CMakeLists.txt +++ b/examples/network/broadcastreceiver/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from broadcastreceiver.pro. - cmake_minimum_required(VERSION 3.16) project(broadcastreceiver LANGUAGES CXX) diff --git a/examples/network/broadcastsender/CMakeLists.txt b/examples/network/broadcastsender/CMakeLists.txt index 72875a5a3a..9c921de8b6 100644 --- a/examples/network/broadcastsender/CMakeLists.txt +++ b/examples/network/broadcastsender/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from broadcastsender.pro. - cmake_minimum_required(VERSION 3.16) project(broadcastsender LANGUAGES CXX) diff --git a/examples/network/dnslookup/CMakeLists.txt b/examples/network/dnslookup/CMakeLists.txt index e87034a14d..d4c869ea78 100644 --- a/examples/network/dnslookup/CMakeLists.txt +++ b/examples/network/dnslookup/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dnslookup.pro. - cmake_minimum_required(VERSION 3.16) project(dnslookup LANGUAGES CXX) diff --git a/examples/network/download/CMakeLists.txt b/examples/network/download/CMakeLists.txt index 7de55c096f..9c987dd143 100644 --- a/examples/network/download/CMakeLists.txt +++ b/examples/network/download/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from download.pro. - cmake_minimum_required(VERSION 3.16) project(download LANGUAGES CXX) diff --git a/examples/network/downloadmanager/CMakeLists.txt b/examples/network/downloadmanager/CMakeLists.txt index e69d0dd72e..5ee773ae26 100644 --- a/examples/network/downloadmanager/CMakeLists.txt +++ b/examples/network/downloadmanager/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from downloadmanager.pro. - cmake_minimum_required(VERSION 3.16) project(downloadmanager LANGUAGES CXX) diff --git a/examples/network/fortuneclient/CMakeLists.txt b/examples/network/fortuneclient/CMakeLists.txt index 66da7dbda3..a1e763408c 100644 --- a/examples/network/fortuneclient/CMakeLists.txt +++ b/examples/network/fortuneclient/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from fortuneclient.pro. - cmake_minimum_required(VERSION 3.16) project(fortuneclient LANGUAGES CXX) diff --git a/examples/network/fortuneserver/CMakeLists.txt b/examples/network/fortuneserver/CMakeLists.txt index a97afa35fe..f4dcfb5f98 100644 --- a/examples/network/fortuneserver/CMakeLists.txt +++ b/examples/network/fortuneserver/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from fortuneserver.pro. - cmake_minimum_required(VERSION 3.16) project(fortuneserver LANGUAGES CXX) diff --git a/examples/network/googlesuggest/CMakeLists.txt b/examples/network/googlesuggest/CMakeLists.txt index d55cc90fa1..4346fde001 100644 --- a/examples/network/googlesuggest/CMakeLists.txt +++ b/examples/network/googlesuggest/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from googlesuggest.pro. - cmake_minimum_required(VERSION 3.16) project(googlesuggest LANGUAGES CXX) diff --git a/examples/network/http/CMakeLists.txt b/examples/network/http/CMakeLists.txt index 65c2190c91..3a1a1245bf 100644 --- a/examples/network/http/CMakeLists.txt +++ b/examples/network/http/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from http.pro. - cmake_minimum_required(VERSION 3.16) project(http LANGUAGES CXX) diff --git a/examples/network/loopback/CMakeLists.txt b/examples/network/loopback/CMakeLists.txt index 424ea1c0d4..0cf46e2cb9 100644 --- a/examples/network/loopback/CMakeLists.txt +++ b/examples/network/loopback/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from loopback.pro. - cmake_minimum_required(VERSION 3.16) project(loopback LANGUAGES CXX) diff --git a/examples/network/multicastreceiver/CMakeLists.txt b/examples/network/multicastreceiver/CMakeLists.txt index 8aec912da5..c5b8b5ed5e 100644 --- a/examples/network/multicastreceiver/CMakeLists.txt +++ b/examples/network/multicastreceiver/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from multicastreceiver.pro. - cmake_minimum_required(VERSION 3.16) project(multicastreceiver LANGUAGES CXX) diff --git a/examples/network/multicastsender/CMakeLists.txt b/examples/network/multicastsender/CMakeLists.txt index 3e2a57d7d5..9d14658ca1 100644 --- a/examples/network/multicastsender/CMakeLists.txt +++ b/examples/network/multicastsender/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from multicastsender.pro. - cmake_minimum_required(VERSION 3.16) project(multicastsender LANGUAGES CXX) diff --git a/examples/network/multistreamclient/CMakeLists.txt b/examples/network/multistreamclient/CMakeLists.txt index bb944c7437..b530be5817 100644 --- a/examples/network/multistreamclient/CMakeLists.txt +++ b/examples/network/multistreamclient/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from multistreamclient.pro. - cmake_minimum_required(VERSION 3.16) project(multistreamclient LANGUAGES CXX) diff --git a/examples/network/multistreamserver/CMakeLists.txt b/examples/network/multistreamserver/CMakeLists.txt index 6e51627ef0..1417ef875c 100644 --- a/examples/network/multistreamserver/CMakeLists.txt +++ b/examples/network/multistreamserver/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from multistreamserver.pro. - cmake_minimum_required(VERSION 3.16) project(multistreamserver LANGUAGES CXX) diff --git a/examples/network/network-chat/CMakeLists.txt b/examples/network/network-chat/CMakeLists.txt index 6e6027420e..bc07905c26 100644 --- a/examples/network/network-chat/CMakeLists.txt +++ b/examples/network/network-chat/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from network-chat.pro. - cmake_minimum_required(VERSION 3.16) project(network-chat LANGUAGES CXX) diff --git a/examples/network/securesocketclient/CMakeLists.txt b/examples/network/securesocketclient/CMakeLists.txt index 3cce8c8641..b9f4aae116 100644 --- a/examples/network/securesocketclient/CMakeLists.txt +++ b/examples/network/securesocketclient/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from securesocketclient.pro. - cmake_minimum_required(VERSION 3.16) project(securesocketclient LANGUAGES CXX) diff --git a/examples/network/secureudpclient/CMakeLists.txt b/examples/network/secureudpclient/CMakeLists.txt index 587ae741ae..b53e7f4a9b 100644 --- a/examples/network/secureudpclient/CMakeLists.txt +++ b/examples/network/secureudpclient/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from secureudpclient.pro. - cmake_minimum_required(VERSION 3.16) project(secureudpclient LANGUAGES CXX) diff --git a/examples/network/secureudpserver/CMakeLists.txt b/examples/network/secureudpserver/CMakeLists.txt index 08f79f1cff..16d2a7fece 100644 --- a/examples/network/secureudpserver/CMakeLists.txt +++ b/examples/network/secureudpserver/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from secureudpserver.pro. - cmake_minimum_required(VERSION 3.16) project(secureudpserver LANGUAGES CXX) diff --git a/examples/network/threadedfortuneserver/CMakeLists.txt b/examples/network/threadedfortuneserver/CMakeLists.txt index 41ef190be9..f94f223273 100644 --- a/examples/network/threadedfortuneserver/CMakeLists.txt +++ b/examples/network/threadedfortuneserver/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from threadedfortuneserver.pro. - cmake_minimum_required(VERSION 3.16) project(threadedfortuneserver LANGUAGES CXX) diff --git a/examples/network/torrent/CMakeLists.txt b/examples/network/torrent/CMakeLists.txt index c5480841f7..4ddfcd1586 100644 --- a/examples/network/torrent/CMakeLists.txt +++ b/examples/network/torrent/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from torrent.pro. - cmake_minimum_required(VERSION 3.16) project(torrent LANGUAGES CXX) diff --git a/examples/opengl/2dpainting/CMakeLists.txt b/examples/opengl/2dpainting/CMakeLists.txt index e6ad41efcd..b0b7dab982 100644 --- a/examples/opengl/2dpainting/CMakeLists.txt +++ b/examples/opengl/2dpainting/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from 2dpainting.pro. - cmake_minimum_required(VERSION 3.16) project(2dpainting LANGUAGES CXX) diff --git a/examples/opengl/CMakeLists.txt b/examples/opengl/CMakeLists.txt index af1792edd0..17d9c6da5a 100644 --- a/examples/opengl/CMakeLists.txt +++ b/examples/opengl/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from opengl.pro. - qt_internal_add_example(hellowindow) qt_internal_add_example(paintedwindow) qt_internal_add_example(openglwindow) diff --git a/examples/opengl/computegles31/CMakeLists.txt b/examples/opengl/computegles31/CMakeLists.txt index 10c0036887..ac2636e09b 100644 --- a/examples/opengl/computegles31/CMakeLists.txt +++ b/examples/opengl/computegles31/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from computegles31.pro. - cmake_minimum_required(VERSION 3.16) project(computegles31 LANGUAGES CXX) diff --git a/examples/opengl/contextinfo/CMakeLists.txt b/examples/opengl/contextinfo/CMakeLists.txt index 923ea9246d..bddd46cd4e 100644 --- a/examples/opengl/contextinfo/CMakeLists.txt +++ b/examples/opengl/contextinfo/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from contextinfo.pro. - cmake_minimum_required(VERSION 3.16) project(contextinfo LANGUAGES CXX) diff --git a/examples/opengl/cube/CMakeLists.txt b/examples/opengl/cube/CMakeLists.txt index 5abb0aab2b..f901e2d0f5 100644 --- a/examples/opengl/cube/CMakeLists.txt +++ b/examples/opengl/cube/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from cube.pro. - cmake_minimum_required(VERSION 3.16) project(cube LANGUAGES CXX) diff --git a/examples/opengl/hellogl2/CMakeLists.txt b/examples/opengl/hellogl2/CMakeLists.txt index df9c0d0e50..00ae8693b7 100644 --- a/examples/opengl/hellogl2/CMakeLists.txt +++ b/examples/opengl/hellogl2/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from hellogl2.pro. - cmake_minimum_required(VERSION 3.16) project(hellogl2 LANGUAGES CXX) diff --git a/examples/opengl/hellogles3/CMakeLists.txt b/examples/opengl/hellogles3/CMakeLists.txt index 365526dde2..cf1f66c6e6 100644 --- a/examples/opengl/hellogles3/CMakeLists.txt +++ b/examples/opengl/hellogles3/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from hellogles3.pro. - cmake_minimum_required(VERSION 3.16) project(hellogles3 LANGUAGES CXX) diff --git a/examples/opengl/hellowindow/CMakeLists.txt b/examples/opengl/hellowindow/CMakeLists.txt index 8b5f812249..80bb291504 100644 --- a/examples/opengl/hellowindow/CMakeLists.txt +++ b/examples/opengl/hellowindow/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from hellowindow.pro. - cmake_minimum_required(VERSION 3.16) project(hellowindow LANGUAGES CXX) diff --git a/examples/opengl/openglwindow/CMakeLists.txt b/examples/opengl/openglwindow/CMakeLists.txt index 43d8ad60b8..a555608c8e 100644 --- a/examples/opengl/openglwindow/CMakeLists.txt +++ b/examples/opengl/openglwindow/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from openglwindow.pro. - cmake_minimum_required(VERSION 3.16) project(openglwindow LANGUAGES CXX) diff --git a/examples/opengl/paintedwindow/CMakeLists.txt b/examples/opengl/paintedwindow/CMakeLists.txt index 6a2b955964..632df35e20 100644 --- a/examples/opengl/paintedwindow/CMakeLists.txt +++ b/examples/opengl/paintedwindow/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from paintedwindow.pro. - cmake_minimum_required(VERSION 3.16) project(paintedwindow LANGUAGES CXX) diff --git a/examples/opengl/qopenglwidget/CMakeLists.txt b/examples/opengl/qopenglwidget/CMakeLists.txt index 3a15b2f6e5..56f985a454 100644 --- a/examples/opengl/qopenglwidget/CMakeLists.txt +++ b/examples/opengl/qopenglwidget/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from qopenglwidget.pro. - cmake_minimum_required(VERSION 3.16) project(qopenglwidget LANGUAGES CXX) diff --git a/examples/opengl/qopenglwindow/CMakeLists.txt b/examples/opengl/qopenglwindow/CMakeLists.txt index 06023505e7..1236df6148 100644 --- a/examples/opengl/qopenglwindow/CMakeLists.txt +++ b/examples/opengl/qopenglwindow/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from qopenglwindow.pro. - cmake_minimum_required(VERSION 3.16) project(qopenglwindow LANGUAGES CXX) diff --git a/examples/opengl/textures/CMakeLists.txt b/examples/opengl/textures/CMakeLists.txt index ff7195bd00..adf9049df4 100644 --- a/examples/opengl/textures/CMakeLists.txt +++ b/examples/opengl/textures/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from textures.pro. - cmake_minimum_required(VERSION 3.16) project(textures LANGUAGES CXX) diff --git a/examples/opengl/threadedqopenglwidget/CMakeLists.txt b/examples/opengl/threadedqopenglwidget/CMakeLists.txt index 386e59e174..7aea309b45 100644 --- a/examples/opengl/threadedqopenglwidget/CMakeLists.txt +++ b/examples/opengl/threadedqopenglwidget/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from threadedqopenglwidget.pro. - cmake_minimum_required(VERSION 3.16) project(threadedqopenglwidget LANGUAGES CXX) diff --git a/examples/qpa/CMakeLists.txt b/examples/qpa/CMakeLists.txt index a5043f2407..54f9e65051 100644 --- a/examples/qpa/CMakeLists.txt +++ b/examples/qpa/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from qpa.pro. - if(NOT TARGET Qt::Gui) return() endif() diff --git a/examples/qpa/qrasterwindow/CMakeLists.txt b/examples/qpa/qrasterwindow/CMakeLists.txt index 22b92105f3..b597a7e059 100644 --- a/examples/qpa/qrasterwindow/CMakeLists.txt +++ b/examples/qpa/qrasterwindow/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from qrasterwindow.pro. - cmake_minimum_required(VERSION 3.16) project(qrasterwindow LANGUAGES CXX) diff --git a/examples/qpa/windows/CMakeLists.txt b/examples/qpa/windows/CMakeLists.txt index 515f00ea3a..89975e44e2 100644 --- a/examples/qpa/windows/CMakeLists.txt +++ b/examples/qpa/windows/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from windows.pro. - cmake_minimum_required(VERSION 3.16) project(windows LANGUAGES CXX) diff --git a/examples/qtconcurrent/CMakeLists.txt b/examples/qtconcurrent/CMakeLists.txt index 0cf2bee39c..7360c55633 100644 --- a/examples/qtconcurrent/CMakeLists.txt +++ b/examples/qtconcurrent/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from qtconcurrent.pro. - if(NOT TARGET Qt::Concurrent) return() endif() diff --git a/examples/qtconcurrent/imagescaling/CMakeLists.txt b/examples/qtconcurrent/imagescaling/CMakeLists.txt index 9f84662270..a1f7dd4789 100644 --- a/examples/qtconcurrent/imagescaling/CMakeLists.txt +++ b/examples/qtconcurrent/imagescaling/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from imagescaling.pro. - cmake_minimum_required(VERSION 3.16) project(imagescaling LANGUAGES CXX) diff --git a/examples/qtconcurrent/map/CMakeLists.txt b/examples/qtconcurrent/map/CMakeLists.txt index 19c11944b4..1e0659dd36 100644 --- a/examples/qtconcurrent/map/CMakeLists.txt +++ b/examples/qtconcurrent/map/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from map.pro. - cmake_minimum_required(VERSION 3.16) project(mapdemo LANGUAGES CXX) diff --git a/examples/qtconcurrent/progressdialog/CMakeLists.txt b/examples/qtconcurrent/progressdialog/CMakeLists.txt index 5ec136f1f1..1a4f3b1440 100644 --- a/examples/qtconcurrent/progressdialog/CMakeLists.txt +++ b/examples/qtconcurrent/progressdialog/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from progressdialog.pro. - cmake_minimum_required(VERSION 3.16) project(progressdialog LANGUAGES CXX) diff --git a/examples/qtconcurrent/runfunction/CMakeLists.txt b/examples/qtconcurrent/runfunction/CMakeLists.txt index 317125df5f..47fe2bc1fa 100644 --- a/examples/qtconcurrent/runfunction/CMakeLists.txt +++ b/examples/qtconcurrent/runfunction/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from runfunction.pro. - cmake_minimum_required(VERSION 3.16) project(runfunction LANGUAGES CXX) diff --git a/examples/qtconcurrent/wordcount/CMakeLists.txt b/examples/qtconcurrent/wordcount/CMakeLists.txt index 57cea77d04..60e7f80dd3 100644 --- a/examples/qtconcurrent/wordcount/CMakeLists.txt +++ b/examples/qtconcurrent/wordcount/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from wordcount.pro. - cmake_minimum_required(VERSION 3.16) project(wordcount LANGUAGES CXX) diff --git a/examples/qtestlib/CMakeLists.txt b/examples/qtestlib/CMakeLists.txt index 84fd46acf9..e2b00670ed 100644 --- a/examples/qtestlib/CMakeLists.txt +++ b/examples/qtestlib/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from qtestlib.pro. - if(NOT TARGET Qt::Widgets) return() endif() diff --git a/examples/qtestlib/tutorial1/CMakeLists.txt b/examples/qtestlib/tutorial1/CMakeLists.txt index 0dee44a99b..4ef18bbc34 100644 --- a/examples/qtestlib/tutorial1/CMakeLists.txt +++ b/examples/qtestlib/tutorial1/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tutorial1.pro. - cmake_minimum_required(VERSION 3.16) project(tutorial1 LANGUAGES CXX) diff --git a/examples/qtestlib/tutorial2/CMakeLists.txt b/examples/qtestlib/tutorial2/CMakeLists.txt index a893a88455..99a52eda74 100644 --- a/examples/qtestlib/tutorial2/CMakeLists.txt +++ b/examples/qtestlib/tutorial2/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tutorial2.pro. - cmake_minimum_required(VERSION 3.16) project(tutorial2 LANGUAGES CXX) diff --git a/examples/qtestlib/tutorial3/CMakeLists.txt b/examples/qtestlib/tutorial3/CMakeLists.txt index cec876406a..96adf6f476 100644 --- a/examples/qtestlib/tutorial3/CMakeLists.txt +++ b/examples/qtestlib/tutorial3/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tutorial3.pro. - cmake_minimum_required(VERSION 3.16) project(tutorial3 LANGUAGES CXX) diff --git a/examples/qtestlib/tutorial4/CMakeLists.txt b/examples/qtestlib/tutorial4/CMakeLists.txt index 01ac498c02..88e2014ab0 100644 --- a/examples/qtestlib/tutorial4/CMakeLists.txt +++ b/examples/qtestlib/tutorial4/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tutorial4.pro. - cmake_minimum_required(VERSION 3.16) project(tutorial4 LANGUAGES CXX) diff --git a/examples/qtestlib/tutorial5/CMakeLists.txt b/examples/qtestlib/tutorial5/CMakeLists.txt index f48e1571bc..d1b15b4fdf 100644 --- a/examples/qtestlib/tutorial5/CMakeLists.txt +++ b/examples/qtestlib/tutorial5/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tutorial5.pro. - cmake_minimum_required(VERSION 3.16) project(tutorial5 LANGUAGES CXX) diff --git a/examples/sql/CMakeLists.txt b/examples/sql/CMakeLists.txt index b45fd6f7cc..5179258c2f 100644 --- a/examples/sql/CMakeLists.txt +++ b/examples/sql/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from sql.pro. - if(NOT TARGET Qt::Widgets) return() endif() @@ -14,6 +12,6 @@ if(TARGET Qt::Xml) qt_internal_add_example(masterdetail) endif() -if(NOT CMAKE_CROSSCOMPILING) # special case +if(NOT CMAKE_CROSSCOMPILING) qt_internal_add_example(sqlbrowser) endif() diff --git a/examples/sql/books/CMakeLists.txt b/examples/sql/books/CMakeLists.txt index 7135c4dfc5..bef0ad2cd6 100644 --- a/examples/sql/books/CMakeLists.txt +++ b/examples/sql/books/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from books.pro. - cmake_minimum_required(VERSION 3.16) project(books LANGUAGES CXX) diff --git a/examples/sql/cachedtable/CMakeLists.txt b/examples/sql/cachedtable/CMakeLists.txt index 28a94034a0..bcfc7d1d3c 100644 --- a/examples/sql/cachedtable/CMakeLists.txt +++ b/examples/sql/cachedtable/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from cachedtable.pro. - cmake_minimum_required(VERSION 3.16) project(cachedtable LANGUAGES CXX) diff --git a/examples/sql/drilldown/CMakeLists.txt b/examples/sql/drilldown/CMakeLists.txt index 6d77f0f6da..dd83087eb6 100644 --- a/examples/sql/drilldown/CMakeLists.txt +++ b/examples/sql/drilldown/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from drilldown.pro. - cmake_minimum_required(VERSION 3.16) project(drilldown LANGUAGES CXX) diff --git a/examples/sql/masterdetail/CMakeLists.txt b/examples/sql/masterdetail/CMakeLists.txt index b45b7b051a..317b09dc7b 100644 --- a/examples/sql/masterdetail/CMakeLists.txt +++ b/examples/sql/masterdetail/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from masterdetail.pro. - cmake_minimum_required(VERSION 3.16) project(masterdetail LANGUAGES CXX) diff --git a/examples/sql/querymodel/CMakeLists.txt b/examples/sql/querymodel/CMakeLists.txt index 4b8fa13b22..7d943a5193 100644 --- a/examples/sql/querymodel/CMakeLists.txt +++ b/examples/sql/querymodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from querymodel.pro. - cmake_minimum_required(VERSION 3.16) project(querymodel LANGUAGES CXX) diff --git a/examples/sql/relationaltablemodel/CMakeLists.txt b/examples/sql/relationaltablemodel/CMakeLists.txt index b64f51b6e0..0f10cea239 100644 --- a/examples/sql/relationaltablemodel/CMakeLists.txt +++ b/examples/sql/relationaltablemodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from relationaltablemodel.pro. - cmake_minimum_required(VERSION 3.16) project(relationaltablemodel LANGUAGES CXX) diff --git a/examples/sql/sqlbrowser/CMakeLists.txt b/examples/sql/sqlbrowser/CMakeLists.txt index 72c4e715e8..ca6d30741b 100644 --- a/examples/sql/sqlbrowser/CMakeLists.txt +++ b/examples/sql/sqlbrowser/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from sqlbrowser.pro. - cmake_minimum_required(VERSION 3.16) project(sqlbrowser LANGUAGES CXX) diff --git a/examples/sql/sqlwidgetmapper/CMakeLists.txt b/examples/sql/sqlwidgetmapper/CMakeLists.txt index 746f71809a..aebc25f106 100644 --- a/examples/sql/sqlwidgetmapper/CMakeLists.txt +++ b/examples/sql/sqlwidgetmapper/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from sqlwidgetmapper.pro. - cmake_minimum_required(VERSION 3.16) project(sqlwidgetmapper LANGUAGES CXX) diff --git a/examples/sql/tablemodel/CMakeLists.txt b/examples/sql/tablemodel/CMakeLists.txt index b0dbf4c450..245d4015e9 100644 --- a/examples/sql/tablemodel/CMakeLists.txt +++ b/examples/sql/tablemodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tablemodel.pro. - cmake_minimum_required(VERSION 3.16) project(tablemodel LANGUAGES CXX) diff --git a/examples/vulkan/CMakeLists.txt b/examples/vulkan/CMakeLists.txt index 2320faaeb3..c5694435b6 100644 --- a/examples/vulkan/CMakeLists.txt +++ b/examples/vulkan/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from vulkan.pro. - qt_internal_add_example(hellovulkanwindow) qt_internal_add_example(hellovulkantriangle) qt_internal_add_example(hellovulkantexture) diff --git a/examples/vulkan/hellovulkancubes/CMakeLists.txt b/examples/vulkan/hellovulkancubes/CMakeLists.txt index c79585f664..f8999f3986 100644 --- a/examples/vulkan/hellovulkancubes/CMakeLists.txt +++ b/examples/vulkan/hellovulkancubes/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from hellovulkancubes.pro. - cmake_minimum_required(VERSION 3.16) project(hellovulkancubes LANGUAGES CXX) diff --git a/examples/vulkan/hellovulkantexture/CMakeLists.txt b/examples/vulkan/hellovulkantexture/CMakeLists.txt index de0175de83..421a82a540 100644 --- a/examples/vulkan/hellovulkantexture/CMakeLists.txt +++ b/examples/vulkan/hellovulkantexture/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from hellovulkantexture.pro. - cmake_minimum_required(VERSION 3.16) project(hellovulkantexture LANGUAGES CXX) diff --git a/examples/vulkan/hellovulkantriangle/CMakeLists.txt b/examples/vulkan/hellovulkantriangle/CMakeLists.txt index 2f3d0ffee5..5ca87cd893 100644 --- a/examples/vulkan/hellovulkantriangle/CMakeLists.txt +++ b/examples/vulkan/hellovulkantriangle/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from hellovulkantriangle.pro. - cmake_minimum_required(VERSION 3.16) project(hellovulkantriangle LANGUAGES CXX) diff --git a/examples/vulkan/hellovulkanwidget/CMakeLists.txt b/examples/vulkan/hellovulkanwidget/CMakeLists.txt index 575f7bc42e..e7adcc3ef1 100644 --- a/examples/vulkan/hellovulkanwidget/CMakeLists.txt +++ b/examples/vulkan/hellovulkanwidget/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from hellovulkanwidget.pro. - cmake_minimum_required(VERSION 3.16) project(hellovulkanwidget LANGUAGES CXX) diff --git a/examples/vulkan/hellovulkanwindow/CMakeLists.txt b/examples/vulkan/hellovulkanwindow/CMakeLists.txt index 0673f6de1b..af98431a3a 100644 --- a/examples/vulkan/hellovulkanwindow/CMakeLists.txt +++ b/examples/vulkan/hellovulkanwindow/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from hellovulkanwindow.pro. - cmake_minimum_required(VERSION 3.16) project(hellovulkanwindow LANGUAGES CXX) diff --git a/examples/widgets/CMakeLists.txt b/examples/widgets/CMakeLists.txt index 753e3b8499..13f8066ed8 100644 --- a/examples/widgets/CMakeLists.txt +++ b/examples/widgets/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from widgets.pro. - if(NOT TARGET Qt::Widgets) return() endif() @@ -24,7 +22,7 @@ add_subdirectory(widgets) if(QT_FEATURE_draganddrop) add_subdirectory(draganddrop) endif() -if(QT_FEATURE_cursor) # special case +if(QT_FEATURE_cursor) add_subdirectory(mainwindows) endif() if(QT_FEATURE_opengl AND TARGET Qt::Gui) diff --git a/examples/widgets/animation/CMakeLists.txt b/examples/widgets/animation/CMakeLists.txt index 70f484a778..d9a18bb866 100644 --- a/examples/widgets/animation/CMakeLists.txt +++ b/examples/widgets/animation/CMakeLists.txt @@ -1,3 +1 @@ -# Generated from animation.pro. - qt_internal_add_example(easing) diff --git a/examples/widgets/animation/easing/CMakeLists.txt b/examples/widgets/animation/easing/CMakeLists.txt index 503c394ec6..2067b0c0d3 100644 --- a/examples/widgets/animation/easing/CMakeLists.txt +++ b/examples/widgets/animation/easing/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from easing.pro. - cmake_minimum_required(VERSION 3.16) project(easing LANGUAGES CXX) diff --git a/examples/widgets/desktop/CMakeLists.txt b/examples/widgets/desktop/CMakeLists.txt index b317205c43..169fa9ffac 100644 --- a/examples/widgets/desktop/CMakeLists.txt +++ b/examples/widgets/desktop/CMakeLists.txt @@ -1,4 +1,2 @@ -# Generated from desktop.pro. - qt_internal_add_example(screenshot) qt_internal_add_example(systray) diff --git a/examples/widgets/desktop/screenshot/CMakeLists.txt b/examples/widgets/desktop/screenshot/CMakeLists.txt index bdeec25c01..95bba7ee31 100644 --- a/examples/widgets/desktop/screenshot/CMakeLists.txt +++ b/examples/widgets/desktop/screenshot/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from screenshot.pro. - cmake_minimum_required(VERSION 3.16) project(screenshot LANGUAGES CXX) diff --git a/examples/widgets/desktop/systray/CMakeLists.txt b/examples/widgets/desktop/systray/CMakeLists.txt index dd136a293d..c2b0d859ba 100644 --- a/examples/widgets/desktop/systray/CMakeLists.txt +++ b/examples/widgets/desktop/systray/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from systray.pro. - cmake_minimum_required(VERSION 3.16) project(systray LANGUAGES CXX) diff --git a/examples/widgets/dialogs/CMakeLists.txt b/examples/widgets/dialogs/CMakeLists.txt index 32f8bc29a8..90361e2e28 100644 --- a/examples/widgets/dialogs/CMakeLists.txt +++ b/examples/widgets/dialogs/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dialogs.pro. - if(QT_FEATURE_wizard) qt_internal_add_example(classwizard) qt_internal_add_example(trivialwizard) diff --git a/examples/widgets/dialogs/classwizard/CMakeLists.txt b/examples/widgets/dialogs/classwizard/CMakeLists.txt index ea964bd937..c9c4b44f59 100644 --- a/examples/widgets/dialogs/classwizard/CMakeLists.txt +++ b/examples/widgets/dialogs/classwizard/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from classwizard.pro. - cmake_minimum_required(VERSION 3.16) project(classwizard LANGUAGES CXX) diff --git a/examples/widgets/dialogs/extension/CMakeLists.txt b/examples/widgets/dialogs/extension/CMakeLists.txt index 6c7d9a3454..243fb13a47 100644 --- a/examples/widgets/dialogs/extension/CMakeLists.txt +++ b/examples/widgets/dialogs/extension/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from extension.pro. - cmake_minimum_required(VERSION 3.16) project(extension LANGUAGES CXX) diff --git a/examples/widgets/dialogs/findfiles/CMakeLists.txt b/examples/widgets/dialogs/findfiles/CMakeLists.txt index 2e41e64ecb..4d870b193e 100644 --- a/examples/widgets/dialogs/findfiles/CMakeLists.txt +++ b/examples/widgets/dialogs/findfiles/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from findfiles.pro. - cmake_minimum_required(VERSION 3.16) project(findfiles LANGUAGES CXX) diff --git a/examples/widgets/dialogs/licensewizard/CMakeLists.txt b/examples/widgets/dialogs/licensewizard/CMakeLists.txt index e9bfc7b588..c043ff18fd 100644 --- a/examples/widgets/dialogs/licensewizard/CMakeLists.txt +++ b/examples/widgets/dialogs/licensewizard/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from licensewizard.pro. - cmake_minimum_required(VERSION 3.16) project(licensewizard LANGUAGES CXX) diff --git a/examples/widgets/dialogs/standarddialogs/CMakeLists.txt b/examples/widgets/dialogs/standarddialogs/CMakeLists.txt index f2e368333e..5a709a5cee 100644 --- a/examples/widgets/dialogs/standarddialogs/CMakeLists.txt +++ b/examples/widgets/dialogs/standarddialogs/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from standarddialogs.pro. - cmake_minimum_required(VERSION 3.16) project(standarddialogs LANGUAGES CXX) diff --git a/examples/widgets/dialogs/tabdialog/CMakeLists.txt b/examples/widgets/dialogs/tabdialog/CMakeLists.txt index af4930c3d5..13d41ddee8 100644 --- a/examples/widgets/dialogs/tabdialog/CMakeLists.txt +++ b/examples/widgets/dialogs/tabdialog/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tabdialog.pro. - cmake_minimum_required(VERSION 3.16) project(tabdialog LANGUAGES CXX) diff --git a/examples/widgets/dialogs/trivialwizard/CMakeLists.txt b/examples/widgets/dialogs/trivialwizard/CMakeLists.txt index 1abb5bbffc..9502ebbd78 100644 --- a/examples/widgets/dialogs/trivialwizard/CMakeLists.txt +++ b/examples/widgets/dialogs/trivialwizard/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from trivialwizard.pro. - cmake_minimum_required(VERSION 3.16) project(trivialwizard LANGUAGES CXX) diff --git a/examples/widgets/draganddrop/CMakeLists.txt b/examples/widgets/draganddrop/CMakeLists.txt index 87ba702aca..c7d8d068d6 100644 --- a/examples/widgets/draganddrop/CMakeLists.txt +++ b/examples/widgets/draganddrop/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from draganddrop.pro. - qt_internal_add_example(draggableicons) qt_internal_add_example(draggabletext) qt_internal_add_example(dropsite) diff --git a/examples/widgets/draganddrop/draggableicons/CMakeLists.txt b/examples/widgets/draganddrop/draggableicons/CMakeLists.txt index c6ebe53749..ee157bbf25 100644 --- a/examples/widgets/draganddrop/draggableicons/CMakeLists.txt +++ b/examples/widgets/draganddrop/draggableicons/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from draggableicons.pro. - cmake_minimum_required(VERSION 3.16) project(draggableicons LANGUAGES CXX) diff --git a/examples/widgets/draganddrop/draggabletext/CMakeLists.txt b/examples/widgets/draganddrop/draggabletext/CMakeLists.txt index 0ae6758d41..7aba6ac56c 100644 --- a/examples/widgets/draganddrop/draggabletext/CMakeLists.txt +++ b/examples/widgets/draganddrop/draggabletext/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from draggabletext.pro. - cmake_minimum_required(VERSION 3.16) project(draggabletext LANGUAGES CXX) diff --git a/examples/widgets/draganddrop/dropsite/CMakeLists.txt b/examples/widgets/draganddrop/dropsite/CMakeLists.txt index 40244ab65c..a3a4d0fbe8 100644 --- a/examples/widgets/draganddrop/dropsite/CMakeLists.txt +++ b/examples/widgets/draganddrop/dropsite/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dropsite.pro. - cmake_minimum_required(VERSION 3.16) project(dropsite LANGUAGES CXX) diff --git a/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt b/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt index eef163b682..2f2087fd3d 100644 --- a/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt +++ b/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from fridgemagnets.pro. - cmake_minimum_required(VERSION 3.16) project(fridgemagnets LANGUAGES CXX) diff --git a/examples/widgets/draganddrop/puzzle/CMakeLists.txt b/examples/widgets/draganddrop/puzzle/CMakeLists.txt index 9cb2a85437..cf6350f16d 100644 --- a/examples/widgets/draganddrop/puzzle/CMakeLists.txt +++ b/examples/widgets/draganddrop/puzzle/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from puzzle.pro. - cmake_minimum_required(VERSION 3.16) project(puzzle LANGUAGES CXX) @@ -13,21 +11,21 @@ if(NOT DEFINED INSTALL_EXAMPLESDIR) set(INSTALL_EXAMPLESDIR "examples") endif() -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/draganddrop_puzzle") # special case +set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/draganddrop_puzzle") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) -qt_add_executable(draganddrop_puzzle # special case: renamed puzzle +qt_add_executable(draganddrop_puzzle main.cpp mainwindow.cpp mainwindow.h pieceslist.cpp pieceslist.h puzzlewidget.cpp puzzlewidget.h ) -set_target_properties(draganddrop_puzzle PROPERTIES # special case +set_target_properties(draganddrop_puzzle PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) -target_link_libraries(draganddrop_puzzle PUBLIC # special case +target_link_libraries(draganddrop_puzzle PUBLIC Qt::Core Qt::Gui Qt::Widgets @@ -39,14 +37,14 @@ set(puzzle_resource_files "example.jpg" ) -qt_add_resources(draganddrop_puzzle "puzzle" # special case +qt_add_resources(draganddrop_puzzle "puzzle" PREFIX "/images" FILES ${puzzle_resource_files} ) -install(TARGETS draganddrop_puzzle # special case: renamed puzzle +install(TARGETS draganddrop_puzzle RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/effects/CMakeLists.txt b/examples/widgets/effects/CMakeLists.txt index 1f62945f76..8b1471d1c2 100644 --- a/examples/widgets/effects/CMakeLists.txt +++ b/examples/widgets/effects/CMakeLists.txt @@ -1,4 +1,2 @@ -# Generated from effects.pro. - qt_internal_add_example(blurpicker) qt_internal_add_example(fademessage) diff --git a/examples/widgets/effects/blurpicker/CMakeLists.txt b/examples/widgets/effects/blurpicker/CMakeLists.txt index ee2572a1a2..679b788ed8 100644 --- a/examples/widgets/effects/blurpicker/CMakeLists.txt +++ b/examples/widgets/effects/blurpicker/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from blurpicker.pro. - cmake_minimum_required(VERSION 3.16) project(blurpicker LANGUAGES CXX) diff --git a/examples/widgets/effects/fademessage/CMakeLists.txt b/examples/widgets/effects/fademessage/CMakeLists.txt index da736fe015..c561189f5a 100644 --- a/examples/widgets/effects/fademessage/CMakeLists.txt +++ b/examples/widgets/effects/fademessage/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from fademessage.pro. - cmake_minimum_required(VERSION 3.16) project(fademessage LANGUAGES CXX) diff --git a/examples/widgets/gallery/CMakeLists.txt b/examples/widgets/gallery/CMakeLists.txt index 6e1726f8f8..6cee5313b8 100644 --- a/examples/widgets/gallery/CMakeLists.txt +++ b/examples/widgets/gallery/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from gallery.pro. - cmake_minimum_required(VERSION 3.16) project(gallery LANGUAGES CXX) diff --git a/examples/widgets/gestures/CMakeLists.txt b/examples/widgets/gestures/CMakeLists.txt index 34fb6d0202..ccd2654936 100644 --- a/examples/widgets/gestures/CMakeLists.txt +++ b/examples/widgets/gestures/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from gestures.pro. - if(NOT TARGET Qt::Widgets) return() endif() diff --git a/examples/widgets/gestures/imagegestures/CMakeLists.txt b/examples/widgets/gestures/imagegestures/CMakeLists.txt index c7a1b8f13e..9094bfab3d 100644 --- a/examples/widgets/gestures/imagegestures/CMakeLists.txt +++ b/examples/widgets/gestures/imagegestures/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from imagegestures.pro. - cmake_minimum_required(VERSION 3.16) project(imagegestures LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/CMakeLists.txt b/examples/widgets/graphicsview/CMakeLists.txt index 961807eb55..86936a8321 100644 --- a/examples/widgets/graphicsview/CMakeLists.txt +++ b/examples/widgets/graphicsview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from graphicsview.pro. - qt_internal_add_example(chip) qt_internal_add_example(elasticnodes) qt_internal_add_example(embeddeddialogs) diff --git a/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt index 8b31907f66..f4151c77b5 100644 --- a/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from anchorlayout.pro. - cmake_minimum_required(VERSION 3.16) project(anchorlayout LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt b/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt index 1c7363aedd..a788419124 100644 --- a/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt +++ b/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from basicgraphicslayouts.pro. - cmake_minimum_required(VERSION 3.16) project(basicgraphicslayouts LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/chip/CMakeLists.txt b/examples/widgets/graphicsview/chip/CMakeLists.txt index f614113afb..dc48cdd84f 100644 --- a/examples/widgets/graphicsview/chip/CMakeLists.txt +++ b/examples/widgets/graphicsview/chip/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from chip.pro. - cmake_minimum_required(VERSION 3.16) project(chip LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/collidingmice/CMakeLists.txt b/examples/widgets/graphicsview/collidingmice/CMakeLists.txt index 626441e4b0..aab329528f 100644 --- a/examples/widgets/graphicsview/collidingmice/CMakeLists.txt +++ b/examples/widgets/graphicsview/collidingmice/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from collidingmice.pro. - cmake_minimum_required(VERSION 3.16) project(collidingmice LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/diagramscene/CMakeLists.txt b/examples/widgets/graphicsview/diagramscene/CMakeLists.txt index 1c00e498be..5559f16dea 100644 --- a/examples/widgets/graphicsview/diagramscene/CMakeLists.txt +++ b/examples/widgets/graphicsview/diagramscene/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from diagramscene.pro. - cmake_minimum_required(VERSION 3.16) project(diagramscene LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt b/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt index 3ca5251a53..eb4f8bf00f 100644 --- a/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt +++ b/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dragdroprobot.pro. - cmake_minimum_required(VERSION 3.16) project(dragdroprobot LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt b/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt index 090d646f5c..369ed964c5 100644 --- a/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt +++ b/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from elasticnodes.pro. - cmake_minimum_required(VERSION 3.16) project(elasticnodes LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt index 6c1896bbd3..63eecd3be9 100644 --- a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt +++ b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from embeddeddialogs.pro. - cmake_minimum_required(VERSION 3.16) project(embeddeddialogs LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/flowlayout/CMakeLists.txt b/examples/widgets/graphicsview/flowlayout/CMakeLists.txt index 502dbe9457..9093f6303b 100644 --- a/examples/widgets/graphicsview/flowlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/flowlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from flowlayout.pro. - cmake_minimum_required(VERSION 3.16) project(flowlayout LANGUAGES CXX) @@ -13,26 +11,26 @@ if(NOT DEFINED INSTALL_EXAMPLESDIR) set(INSTALL_EXAMPLESDIR "examples") endif() -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/graphicsview_flowlayout") # special case +set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/graphicsview_flowlayout") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) -qt_add_executable(graphicsview_flowlayout # special case: renamed flowlayout +qt_add_executable(graphicsview_flowlayout flowlayout.cpp flowlayout.h main.cpp window.cpp window.h ) -set_target_properties(graphicsview_flowlayout PROPERTIES # special case +set_target_properties(graphicsview_flowlayout PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) -target_link_libraries(graphicsview_flowlayout PUBLIC # special case +target_link_libraries(graphicsview_flowlayout PUBLIC Qt::Core Qt::Gui Qt::Widgets ) -install(TARGETS graphicsview_flowlayout # special case: renamed flowlayout +install(TARGETS graphicsview_flowlayout RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt index 27dc7273fb..73f25bb156 100644 --- a/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from simpleanchorlayout.pro. - cmake_minimum_required(VERSION 3.16) project(simpleanchorlayout LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt index 8490d8a951..92056a1c51 100644 --- a/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from weatheranchorlayout.pro. - cmake_minimum_required(VERSION 3.16) project(weatheranchorlayout LANGUAGES CXX) diff --git a/examples/widgets/itemviews/CMakeLists.txt b/examples/widgets/itemviews/CMakeLists.txt index 10d77c43c8..df7e8cefec 100644 --- a/examples/widgets/itemviews/CMakeLists.txt +++ b/examples/widgets/itemviews/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from itemviews.pro. - qt_internal_add_example(addressbook) qt_internal_add_example(basicsortfiltermodel) qt_internal_add_example(chart) diff --git a/examples/widgets/itemviews/addressbook/CMakeLists.txt b/examples/widgets/itemviews/addressbook/CMakeLists.txt index c6146039a1..e697186600 100644 --- a/examples/widgets/itemviews/addressbook/CMakeLists.txt +++ b/examples/widgets/itemviews/addressbook/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from addressbook.pro. - cmake_minimum_required(VERSION 3.16) project(addressbook LANGUAGES CXX) diff --git a/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt b/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt index cb5134361f..3046ab25b1 100644 --- a/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt +++ b/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from basicsortfiltermodel.pro. - cmake_minimum_required(VERSION 3.16) project(basicsortfiltermodel LANGUAGES CXX) diff --git a/examples/widgets/itemviews/chart/CMakeLists.txt b/examples/widgets/itemviews/chart/CMakeLists.txt index d1918b82ea..8e749211f2 100644 --- a/examples/widgets/itemviews/chart/CMakeLists.txt +++ b/examples/widgets/itemviews/chart/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from chart.pro. - cmake_minimum_required(VERSION 3.16) project(chart LANGUAGES CXX) diff --git a/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt b/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt index 6b83754e5a..0538d4ecd8 100644 --- a/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt +++ b/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from coloreditorfactory.pro. - cmake_minimum_required(VERSION 3.16) project(coloreditorfactory LANGUAGES CXX) diff --git a/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt b/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt index 8b88700952..9bd809dab9 100644 --- a/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt +++ b/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from combowidgetmapper.pro. - cmake_minimum_required(VERSION 3.16) project(combowidgetmapper LANGUAGES CXX) diff --git a/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt b/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt index 6858d3372c..da4d4bdf0a 100644 --- a/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt +++ b/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from customsortfiltermodel.pro. - cmake_minimum_required(VERSION 3.16) project(customsortfiltermodel LANGUAGES CXX) diff --git a/examples/widgets/itemviews/dirview/CMakeLists.txt b/examples/widgets/itemviews/dirview/CMakeLists.txt index cd0e67056e..cea54f5847 100644 --- a/examples/widgets/itemviews/dirview/CMakeLists.txt +++ b/examples/widgets/itemviews/dirview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dirview.pro. - cmake_minimum_required(VERSION 3.16) project(dirview LANGUAGES CXX) diff --git a/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt b/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt index 5e8ce72f4d..8dfaf171be 100644 --- a/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt +++ b/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from editabletreemodel.pro. - cmake_minimum_required(VERSION 3.16) project(editabletreemodel LANGUAGES CXX) diff --git a/examples/widgets/itemviews/fetchmore/CMakeLists.txt b/examples/widgets/itemviews/fetchmore/CMakeLists.txt index ada05c0af4..2ea49fd210 100644 --- a/examples/widgets/itemviews/fetchmore/CMakeLists.txt +++ b/examples/widgets/itemviews/fetchmore/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from fetchmore.pro. - cmake_minimum_required(VERSION 3.16) project(fetchmore LANGUAGES CXX) diff --git a/examples/widgets/itemviews/flattreeview/CMakeLists.txt b/examples/widgets/itemviews/flattreeview/CMakeLists.txt index 4768bcb204..c15fe84734 100644 --- a/examples/widgets/itemviews/flattreeview/CMakeLists.txt +++ b/examples/widgets/itemviews/flattreeview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from flattreeview.pro. - cmake_minimum_required(VERSION 3.16) project(flattreeview LANGUAGES CXX) diff --git a/examples/widgets/itemviews/frozencolumn/CMakeLists.txt b/examples/widgets/itemviews/frozencolumn/CMakeLists.txt index 1fef5bf76c..6180a204ac 100644 --- a/examples/widgets/itemviews/frozencolumn/CMakeLists.txt +++ b/examples/widgets/itemviews/frozencolumn/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from frozencolumn.pro. - cmake_minimum_required(VERSION 3.16) project(frozencolumn LANGUAGES CXX) diff --git a/examples/widgets/itemviews/interview/CMakeLists.txt b/examples/widgets/itemviews/interview/CMakeLists.txt index 11cc25796e..9574b24d50 100644 --- a/examples/widgets/itemviews/interview/CMakeLists.txt +++ b/examples/widgets/itemviews/interview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from interview.pro. - cmake_minimum_required(VERSION 3.16) project(interview LANGUAGES CXX) diff --git a/examples/widgets/itemviews/pixelator/CMakeLists.txt b/examples/widgets/itemviews/pixelator/CMakeLists.txt index 0126dce328..be4cb6afc1 100644 --- a/examples/widgets/itemviews/pixelator/CMakeLists.txt +++ b/examples/widgets/itemviews/pixelator/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from pixelator.pro. - cmake_minimum_required(VERSION 3.16) project(pixelator LANGUAGES CXX) diff --git a/examples/widgets/itemviews/puzzle/CMakeLists.txt b/examples/widgets/itemviews/puzzle/CMakeLists.txt index 9d6808a3d0..4761852664 100644 --- a/examples/widgets/itemviews/puzzle/CMakeLists.txt +++ b/examples/widgets/itemviews/puzzle/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from puzzle.pro. - cmake_minimum_required(VERSION 3.16) project(puzzle LANGUAGES CXX) @@ -17,17 +15,17 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/itemviews/puzzle") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) -qt_add_executable(itemviews_puzzle # special case: renamed puzzle +qt_add_executable(itemviews_puzzle main.cpp mainwindow.cpp mainwindow.h piecesmodel.cpp piecesmodel.h puzzlewidget.cpp puzzlewidget.h ) -set_target_properties(itemviews_puzzle PROPERTIES # special case +set_target_properties(itemviews_puzzle PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) -target_link_libraries(itemviews_puzzle PUBLIC # special case +target_link_libraries(itemviews_puzzle PUBLIC Qt::Core Qt::Gui Qt::Widgets @@ -46,7 +44,7 @@ qt_add_resources(itemviews_puzzle "puzzle" ${puzzle_resource_files} ) -install(TARGETS itemviews_puzzle # special case: renamed puzzle +install(TARGETS itemviews_puzzle RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/itemviews/simpledommodel/CMakeLists.txt b/examples/widgets/itemviews/simpledommodel/CMakeLists.txt index 54034d90d6..47c26d1b2e 100644 --- a/examples/widgets/itemviews/simpledommodel/CMakeLists.txt +++ b/examples/widgets/itemviews/simpledommodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from simpledommodel.pro. - cmake_minimum_required(VERSION 3.16) project(simpledommodel LANGUAGES CXX) diff --git a/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt b/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt index f8e72a2a0e..f6d8aae118 100644 --- a/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt +++ b/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from simpletreemodel.pro. - cmake_minimum_required(VERSION 3.16) project(simpletreemodel LANGUAGES CXX) diff --git a/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt b/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt index 1d0e400ac2..14ad9bd96c 100644 --- a/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt +++ b/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from simplewidgetmapper.pro. - cmake_minimum_required(VERSION 3.16) project(simplewidgetmapper LANGUAGES CXX) diff --git a/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt b/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt index 794bac8c47..bcea33915c 100644 --- a/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt +++ b/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from spinboxdelegate.pro. - cmake_minimum_required(VERSION 3.16) project(spinboxdelegate LANGUAGES CXX) diff --git a/examples/widgets/itemviews/spreadsheet/CMakeLists.txt b/examples/widgets/itemviews/spreadsheet/CMakeLists.txt index 8847cb96ee..e0089a0ed9 100644 --- a/examples/widgets/itemviews/spreadsheet/CMakeLists.txt +++ b/examples/widgets/itemviews/spreadsheet/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from spreadsheet.pro. - cmake_minimum_required(VERSION 3.16) project(spreadsheet LANGUAGES CXX) @@ -36,11 +34,10 @@ target_link_libraries(spreadsheet PUBLIC Qt::Gui Qt::Widgets ) -# special case begin + if (TARGET Qt::PrintSupport) target_link_libraries(spreadsheet PUBLIC Qt::PrintSupport) endif() -# special case end # Resources: diff --git a/examples/widgets/itemviews/stardelegate/CMakeLists.txt b/examples/widgets/itemviews/stardelegate/CMakeLists.txt index 3a03e105dd..136dc7c83d 100644 --- a/examples/widgets/itemviews/stardelegate/CMakeLists.txt +++ b/examples/widgets/itemviews/stardelegate/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from stardelegate.pro. - cmake_minimum_required(VERSION 3.16) project(stardelegate LANGUAGES CXX) diff --git a/examples/widgets/itemviews/storageview/CMakeLists.txt b/examples/widgets/itemviews/storageview/CMakeLists.txt index f1a77b2300..43a11e9f12 100644 --- a/examples/widgets/itemviews/storageview/CMakeLists.txt +++ b/examples/widgets/itemviews/storageview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from storageview.pro. - cmake_minimum_required(VERSION 3.16) project(storageview LANGUAGES CXX) diff --git a/examples/widgets/layouts/CMakeLists.txt b/examples/widgets/layouts/CMakeLists.txt index 656b602650..1950c7f641 100644 --- a/examples/widgets/layouts/CMakeLists.txt +++ b/examples/widgets/layouts/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from layouts.pro. - qt_internal_add_example(basiclayouts) qt_internal_add_example(borderlayout) qt_internal_add_example(dynamiclayouts) diff --git a/examples/widgets/layouts/basiclayouts/CMakeLists.txt b/examples/widgets/layouts/basiclayouts/CMakeLists.txt index 4534b4ab30..52518163a1 100644 --- a/examples/widgets/layouts/basiclayouts/CMakeLists.txt +++ b/examples/widgets/layouts/basiclayouts/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from basiclayouts.pro. - cmake_minimum_required(VERSION 3.16) project(basiclayouts LANGUAGES CXX) diff --git a/examples/widgets/layouts/borderlayout/CMakeLists.txt b/examples/widgets/layouts/borderlayout/CMakeLists.txt index 7e9a035b06..3c04f1b66a 100644 --- a/examples/widgets/layouts/borderlayout/CMakeLists.txt +++ b/examples/widgets/layouts/borderlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from borderlayout.pro. - cmake_minimum_required(VERSION 3.16) project(borderlayout LANGUAGES CXX) diff --git a/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt b/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt index c585dfd26d..565829c1c2 100644 --- a/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt +++ b/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dynamiclayouts.pro. - cmake_minimum_required(VERSION 3.16) project(dynamiclayouts LANGUAGES CXX) diff --git a/examples/widgets/layouts/flowlayout/CMakeLists.txt b/examples/widgets/layouts/flowlayout/CMakeLists.txt index 7e50135aff..c28668fb49 100644 --- a/examples/widgets/layouts/flowlayout/CMakeLists.txt +++ b/examples/widgets/layouts/flowlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from flowlayout.pro. - cmake_minimum_required(VERSION 3.16) project(flowlayout LANGUAGES CXX) diff --git a/examples/widgets/mainwindows/CMakeLists.txt b/examples/widgets/mainwindows/CMakeLists.txt index ba87029ef8..60dbc59310 100644 --- a/examples/widgets/mainwindows/CMakeLists.txt +++ b/examples/widgets/mainwindows/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from mainwindows.pro. - qt_internal_add_example(application) qt_internal_add_example(dockwidgets) qt_internal_add_example(mainwindow) diff --git a/examples/widgets/mainwindows/application/CMakeLists.txt b/examples/widgets/mainwindows/application/CMakeLists.txt index debd65da83..262548a6e1 100644 --- a/examples/widgets/mainwindows/application/CMakeLists.txt +++ b/examples/widgets/mainwindows/application/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from application.pro. - cmake_minimum_required(VERSION 3.16) project(application LANGUAGES CXX) diff --git a/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt b/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt index 90eec8c509..5dff006c70 100644 --- a/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt +++ b/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dockwidgets.pro. - cmake_minimum_required(VERSION 3.16) project(dockwidgets LANGUAGES CXX) @@ -33,11 +31,10 @@ target_link_libraries(dockwidgets PUBLIC Qt::Gui Qt::Widgets ) -# special case begin + if (TARGET Qt::PrintSupport) target_link_libraries(dockwidgets PUBLIC Qt::PrintSupport) endif() -# special case end # Resources: diff --git a/examples/widgets/mainwindows/mainwindow/CMakeLists.txt b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt index 33d367628a..ee04a59d94 100644 --- a/examples/widgets/mainwindows/mainwindow/CMakeLists.txt +++ b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from mainwindow.pro. - cmake_minimum_required(VERSION 3.16) project(mainwindow LANGUAGES CXX) diff --git a/examples/widgets/mainwindows/mdi/CMakeLists.txt b/examples/widgets/mainwindows/mdi/CMakeLists.txt index 038dabf996..7a2efef80f 100644 --- a/examples/widgets/mainwindows/mdi/CMakeLists.txt +++ b/examples/widgets/mainwindows/mdi/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from mdi.pro. - cmake_minimum_required(VERSION 3.16) project(mdi LANGUAGES CXX) diff --git a/examples/widgets/mainwindows/menus/CMakeLists.txt b/examples/widgets/mainwindows/menus/CMakeLists.txt index d97cc26724..ee5eb4e616 100644 --- a/examples/widgets/mainwindows/menus/CMakeLists.txt +++ b/examples/widgets/mainwindows/menus/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from menus.pro. - cmake_minimum_required(VERSION 3.16) project(menus LANGUAGES CXX) diff --git a/examples/widgets/mainwindows/sdi/CMakeLists.txt b/examples/widgets/mainwindows/sdi/CMakeLists.txt index 6f62c1e404..89b3228293 100644 --- a/examples/widgets/mainwindows/sdi/CMakeLists.txt +++ b/examples/widgets/mainwindows/sdi/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from sdi.pro. - cmake_minimum_required(VERSION 3.16) project(sdi LANGUAGES CXX) diff --git a/examples/widgets/painting/CMakeLists.txt b/examples/widgets/painting/CMakeLists.txt index 40ebafdc31..35f3af71b5 100644 --- a/examples/widgets/painting/CMakeLists.txt +++ b/examples/widgets/painting/CMakeLists.txt @@ -1,10 +1,7 @@ -# Generated from painting.pro. - -#add_subdirectory(shared) # special case pulled in by other subdirs as needed qt_internal_add_example(basicdrawing) qt_internal_add_example(concentriccircles) qt_internal_add_example(affine) -# qt_internal_add_example(composition) # special case FIXME: Seems buggy wrt. usesOpenGL function +# qt_internal_add_example(composition) # FIXME: Seems buggy wrt. usesOpenGL function qt_internal_add_example(deform) qt_internal_add_example(gradients) qt_internal_add_example(pathstroke) diff --git a/examples/widgets/painting/affine/CMakeLists.txt b/examples/widgets/painting/affine/CMakeLists.txt index dbc38202c2..88792be8f0 100644 --- a/examples/widgets/painting/affine/CMakeLists.txt +++ b/examples/widgets/painting/affine/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from affine.pro. - cmake_minimum_required(VERSION 3.16) project(affine LANGUAGES CXX) @@ -18,12 +16,10 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/affine") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_add_executable(affine - # special case begin # remove files from ../shared #../shared/arthurstyle.cpp ../shared/arthurstyle.h #../shared/arthurwidgets.cpp ../shared/arthurwidgets.h #../shared/hoverpoints.cpp ../shared/hoverpoints.h - # special case end main.cpp xform.cpp xform.h ) @@ -35,17 +31,15 @@ target_include_directories(affine PUBLIC ../shared ) -# special case begin if(NOT TARGET painting_shared::painting_shared) include(../shared/use_lib.cmake) endif() -# special case end target_link_libraries(affine PUBLIC Qt::Core Qt::Gui Qt::Widgets - painting_shared::painting_shared # special case + painting_shared::painting_shared ) @@ -109,7 +103,6 @@ qt_add_resources(affine "affine" ${affine_resource_files} ) -# special case begin # remove files from ../shared #if(QT_FEATURE_opengl) #target_sources(affine PUBLIC @@ -120,7 +113,6 @@ qt_add_resources(affine "affine" #Qt::OpenGL #) #endif() -# special case end install(TARGETS affine RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/painting/basicdrawing/CMakeLists.txt b/examples/widgets/painting/basicdrawing/CMakeLists.txt index a4778edbc1..83faca559e 100644 --- a/examples/widgets/painting/basicdrawing/CMakeLists.txt +++ b/examples/widgets/painting/basicdrawing/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from basicdrawing.pro. - cmake_minimum_required(VERSION 3.16) project(basicdrawing LANGUAGES CXX) diff --git a/examples/widgets/painting/composition/CMakeLists.txt b/examples/widgets/painting/composition/CMakeLists.txt index 3e48a688fa..62156d45e4 100644 --- a/examples/widgets/painting/composition/CMakeLists.txt +++ b/examples/widgets/painting/composition/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from composition.pro. - cmake_minimum_required(VERSION 3.16) project(composition LANGUAGES CXX) @@ -18,12 +16,10 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/composition") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_add_executable(composition - # special case begin # remove files from ../shared #../shared/arthurstyle.cpp ../shared/arthurstyle.h #../shared/arthurwidgets.cpp ../shared/arthurwidgets.h #../shared/hoverpoints.cpp ../shared/hoverpoints.h - # special case end composition.cpp composition.h main.cpp ) @@ -35,17 +31,15 @@ target_include_directories(composition PUBLIC ../shared ) -# special case begin if(NOT TARGET painting_shared::painting_shared) include(../shared/use_lib.cmake) endif() -# special case end target_link_libraries(composition PUBLIC Qt::Core Qt::Gui Qt::Widgets - painting_shared::painting_shared # special case + painting_shared::painting_shared ) @@ -110,7 +104,6 @@ qt_add_resources(composition "composition" ${composition_resource_files} ) -# special case begin # remove files from ../shared #if(QT_FEATURE_opengl) #target_sources(affine PUBLIC @@ -121,7 +114,6 @@ qt_add_resources(composition "composition" #Qt::OpenGL #) #endif() -# special case end install(TARGETS composition RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/painting/concentriccircles/CMakeLists.txt b/examples/widgets/painting/concentriccircles/CMakeLists.txt index 7bc7b44deb..72ed7d8776 100644 --- a/examples/widgets/painting/concentriccircles/CMakeLists.txt +++ b/examples/widgets/painting/concentriccircles/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from concentriccircles.pro. - cmake_minimum_required(VERSION 3.16) project(concentriccircles LANGUAGES CXX) diff --git a/examples/widgets/painting/deform/CMakeLists.txt b/examples/widgets/painting/deform/CMakeLists.txt index feadb84a6a..1174cf5a27 100644 --- a/examples/widgets/painting/deform/CMakeLists.txt +++ b/examples/widgets/painting/deform/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from deform.pro. - cmake_minimum_required(VERSION 3.16) project(deform LANGUAGES CXX) @@ -18,12 +16,10 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/deform") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_add_executable(deform - # special case begin # remove files from ../shared #../shared/arthurstyle.cpp ../shared/arthurstyle.h #../shared/arthurwidgets.cpp ../shared/arthurwidgets.h #../shared/hoverpoints.cpp ../shared/hoverpoints.h - # special case end main.cpp pathdeform.cpp pathdeform.h ) @@ -35,17 +31,15 @@ target_include_directories(deform PUBLIC ../shared ) -# special case begin if(NOT TARGET painting_shared::painting_shared) include(../shared/use_lib.cmake) endif() -# special case end target_link_libraries(deform PUBLIC Qt::Core Qt::Gui Qt::Widgets - painting_shared::painting_shared # special case + painting_shared::painting_shared ) @@ -108,7 +102,6 @@ qt_add_resources(deform "deform" ${deform_resource_files} ) -# special case begin # remove files from ../shared #if(QT_FEATURE_opengl) #target_sources(affine PUBLIC @@ -119,7 +112,6 @@ qt_add_resources(deform "deform" #Qt::OpenGL #) #endif() -# special case end install(TARGETS deform RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/painting/fontsampler/CMakeLists.txt b/examples/widgets/painting/fontsampler/CMakeLists.txt index cb04d523bd..e0b683ba33 100644 --- a/examples/widgets/painting/fontsampler/CMakeLists.txt +++ b/examples/widgets/painting/fontsampler/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from fontsampler.pro. - cmake_minimum_required(VERSION 3.16) project(fontsampler LANGUAGES CXX) diff --git a/examples/widgets/painting/gradients/CMakeLists.txt b/examples/widgets/painting/gradients/CMakeLists.txt index 62dca0045d..6de1d3c47e 100644 --- a/examples/widgets/painting/gradients/CMakeLists.txt +++ b/examples/widgets/painting/gradients/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from gradients.pro. - cmake_minimum_required(VERSION 3.16) project(gradients LANGUAGES CXX) @@ -18,12 +16,10 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/gradients") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_add_executable(gradients - # special case begin # remove files from ../shared #../shared/arthurstyle.cpp ../shared/arthurstyle.h #../shared/arthurwidgets.cpp ../shared/arthurwidgets.h #../shared/hoverpoints.cpp ../shared/hoverpoints.h - # special case end gradients.cpp gradients.h main.cpp ) @@ -35,17 +31,15 @@ target_include_directories(gradients PUBLIC ../shared ) -# special case begin if(NOT TARGET painting_shared::painting_shared) include(../shared/use_lib.cmake) endif() -# special case end target_link_libraries(gradients PUBLIC Qt::Core Qt::Gui Qt::Widgets - painting_shared::painting_shared # special case + painting_shared::painting_shared ) @@ -108,7 +102,6 @@ qt_add_resources(gradients "gradients" ${gradients_resource_files} ) -# special case begin # remove files from ../shared #if(QT_FEATURE_opengl) #target_sources(affine PUBLIC @@ -119,7 +112,6 @@ qt_add_resources(gradients "gradients" #Qt::OpenGL #) #endif() -# special case end install(TARGETS gradients RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/painting/imagecomposition/CMakeLists.txt b/examples/widgets/painting/imagecomposition/CMakeLists.txt index 4df69207f2..2887d84002 100644 --- a/examples/widgets/painting/imagecomposition/CMakeLists.txt +++ b/examples/widgets/painting/imagecomposition/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from imagecomposition.pro. - cmake_minimum_required(VERSION 3.16) project(imagecomposition LANGUAGES CXX) diff --git a/examples/widgets/painting/painterpaths/CMakeLists.txt b/examples/widgets/painting/painterpaths/CMakeLists.txt index 6e8492d8c3..f4530521dc 100644 --- a/examples/widgets/painting/painterpaths/CMakeLists.txt +++ b/examples/widgets/painting/painterpaths/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from painterpaths.pro. - cmake_minimum_required(VERSION 3.16) project(painterpaths LANGUAGES CXX) diff --git a/examples/widgets/painting/pathstroke/CMakeLists.txt b/examples/widgets/painting/pathstroke/CMakeLists.txt index 8c84afcb6e..9e28706529 100644 --- a/examples/widgets/painting/pathstroke/CMakeLists.txt +++ b/examples/widgets/painting/pathstroke/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from pathstroke.pro. - cmake_minimum_required(VERSION 3.16) project(pathstroke LANGUAGES CXX) @@ -18,12 +16,10 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/pathstroke") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_add_executable(pathstroke - # special case begin # remove files from ../shared #../shared/arthurstyle.cpp ../shared/arthurstyle.h #../shared/arthurwidgets.cpp ../shared/arthurwidgets.h #../shared/hoverpoints.cpp ../shared/hoverpoints.h - # special case end main.cpp pathstroke.cpp pathstroke.h ) @@ -35,17 +31,15 @@ target_include_directories(pathstroke PUBLIC ../shared ) -# special case begin if(NOT TARGET painting_shared::painting_shared) include(../shared/use_lib.cmake) endif() -# special case end target_link_libraries(pathstroke PUBLIC Qt::Core Qt::Gui Qt::Widgets - painting_shared::painting_shared # special case + painting_shared::painting_shared ) @@ -108,7 +102,6 @@ qt_add_resources(pathstroke "pathstroke" ${pathstroke_resource_files} ) -# special case begin # remove files from ../shared #if(QT_FEATURE_opengl) #target_sources(affine PUBLIC @@ -119,7 +112,6 @@ qt_add_resources(pathstroke "pathstroke" #Qt::OpenGL #) #endif() -# special case end install(TARGETS pathstroke RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/painting/shared/CMakeLists.txt b/examples/widgets/painting/shared/CMakeLists.txt index 0fc65d3d99..bd1b2ef5c6 100644 --- a/examples/widgets/painting/shared/CMakeLists.txt +++ b/examples/widgets/painting/shared/CMakeLists.txt @@ -1,6 +1,3 @@ -# special case skip regeneration -# Port of shared.pri to be included by painting examples - add_library(painting_shared OBJECT) add_library(painting_shared::painting_shared ALIAS painting_shared) qt6_wrap_cpp(moc_files arthurwidgets.h hoverpoints.h) # no automoc for OBJECT libs:-/ diff --git a/examples/widgets/painting/transformations/CMakeLists.txt b/examples/widgets/painting/transformations/CMakeLists.txt index 20b6af6a63..990871318f 100644 --- a/examples/widgets/painting/transformations/CMakeLists.txt +++ b/examples/widgets/painting/transformations/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from transformations.pro. - cmake_minimum_required(VERSION 3.16) project(transformations LANGUAGES CXX) diff --git a/examples/widgets/richtext/CMakeLists.txt b/examples/widgets/richtext/CMakeLists.txt index 86bbcccea5..cb49c61fa6 100644 --- a/examples/widgets/richtext/CMakeLists.txt +++ b/examples/widgets/richtext/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from richtext.pro. - qt_internal_add_example(calendar) qt_internal_add_example(orderform) qt_internal_add_example(syntaxhighlighter) diff --git a/examples/widgets/richtext/calendar/CMakeLists.txt b/examples/widgets/richtext/calendar/CMakeLists.txt index c3e777dddb..c883b30dcc 100644 --- a/examples/widgets/richtext/calendar/CMakeLists.txt +++ b/examples/widgets/richtext/calendar/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from calendar.pro. - cmake_minimum_required(VERSION 3.16) project(calendar LANGUAGES CXX) diff --git a/examples/widgets/richtext/orderform/CMakeLists.txt b/examples/widgets/richtext/orderform/CMakeLists.txt index c47a71fdcd..32646d7b59 100644 --- a/examples/widgets/richtext/orderform/CMakeLists.txt +++ b/examples/widgets/richtext/orderform/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from orderform.pro. - cmake_minimum_required(VERSION 3.16) project(orderform LANGUAGES CXX) diff --git a/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt b/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt index 4132c06ef6..d9a20cccd4 100644 --- a/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt +++ b/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from syntaxhighlighter.pro. - cmake_minimum_required(VERSION 3.16) project(syntaxhighlighter LANGUAGES CXX) diff --git a/examples/widgets/richtext/textedit/CMakeLists.txt b/examples/widgets/richtext/textedit/CMakeLists.txt index 7190e8d5b1..3a29d09a61 100644 --- a/examples/widgets/richtext/textedit/CMakeLists.txt +++ b/examples/widgets/richtext/textedit/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from textedit.pro. - cmake_minimum_required(VERSION 3.16) project(textedit LANGUAGES CXX) @@ -33,11 +31,10 @@ target_link_libraries(textedit PUBLIC Qt::Gui Qt::Widgets ) -# special case begin + if (TARGET Qt::PrintSupport) target_link_libraries(textedit PUBLIC Qt::PrintSupport) endif() -# special case end # Resources: diff --git a/examples/widgets/scroller/CMakeLists.txt b/examples/widgets/scroller/CMakeLists.txt index 37ee7ea08f..fb9ebc2848 100644 --- a/examples/widgets/scroller/CMakeLists.txt +++ b/examples/widgets/scroller/CMakeLists.txt @@ -1,3 +1 @@ -# Generated from scroller.pro. - qt_internal_add_example(graphicsview) diff --git a/examples/widgets/scroller/graphicsview/CMakeLists.txt b/examples/widgets/scroller/graphicsview/CMakeLists.txt index d835b72eb8..5f768c8694 100644 --- a/examples/widgets/scroller/graphicsview/CMakeLists.txt +++ b/examples/widgets/scroller/graphicsview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from graphicsview.pro. - cmake_minimum_required(VERSION 3.16) project(graphicsview LANGUAGES CXX) diff --git a/examples/widgets/tools/CMakeLists.txt b/examples/widgets/tools/CMakeLists.txt index 0056518f1e..136097ddf3 100644 --- a/examples/widgets/tools/CMakeLists.txt +++ b/examples/widgets/tools/CMakeLists.txt @@ -1,8 +1,6 @@ -# Generated from tools.pro. - qt_internal_add_example(completer) qt_internal_add_example(customcompleter) -if(QT_FEATURE_translation) # special case +if(QT_FEATURE_translation) qt_internal_add_example(i18n) endif() qt_internal_add_example(regularexpression) @@ -12,11 +10,10 @@ qt_internal_add_example(treemodelcompleter) qt_internal_add_example(undo) qt_internal_add_example(undoframework) -if(QT_FEATURE_library) # special case +if(QT_FEATURE_library) add_subdirectory(echoplugin) - # special case begin + if(QT_FEATURE_inputdialog) qt_internal_add_example(plugandpaint) endif() - # special case end endif() diff --git a/examples/widgets/tools/completer/CMakeLists.txt b/examples/widgets/tools/completer/CMakeLists.txt index cbcf19421c..8ec960dafd 100644 --- a/examples/widgets/tools/completer/CMakeLists.txt +++ b/examples/widgets/tools/completer/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from completer.pro. - cmake_minimum_required(VERSION 3.16) project(completer LANGUAGES CXX) diff --git a/examples/widgets/tools/customcompleter/CMakeLists.txt b/examples/widgets/tools/customcompleter/CMakeLists.txt index cb26eb1c79..9e0bbee241 100644 --- a/examples/widgets/tools/customcompleter/CMakeLists.txt +++ b/examples/widgets/tools/customcompleter/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from customcompleter.pro. - cmake_minimum_required(VERSION 3.16) project(customcompleter LANGUAGES CXX) diff --git a/examples/widgets/tools/i18n/CMakeLists.txt b/examples/widgets/tools/i18n/CMakeLists.txt index 2d8c3a21d9..0cb230a805 100644 --- a/examples/widgets/tools/i18n/CMakeLists.txt +++ b/examples/widgets/tools/i18n/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from i18n.pro. - cmake_minimum_required(VERSION 3.16) project(i18n LANGUAGES CXX) diff --git a/examples/widgets/tools/regularexpression/CMakeLists.txt b/examples/widgets/tools/regularexpression/CMakeLists.txt index 4d2be816a5..85f9a81156 100644 --- a/examples/widgets/tools/regularexpression/CMakeLists.txt +++ b/examples/widgets/tools/regularexpression/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from regularexpression.pro. - cmake_minimum_required(VERSION 3.16) project(regularexpression LANGUAGES CXX) diff --git a/examples/widgets/tools/settingseditor/CMakeLists.txt b/examples/widgets/tools/settingseditor/CMakeLists.txt index 7f8bcca593..e1b6f95eb5 100644 --- a/examples/widgets/tools/settingseditor/CMakeLists.txt +++ b/examples/widgets/tools/settingseditor/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from settingseditor.pro. - cmake_minimum_required(VERSION 3.16) project(settingseditor LANGUAGES CXX) diff --git a/examples/widgets/tools/treemodelcompleter/CMakeLists.txt b/examples/widgets/tools/treemodelcompleter/CMakeLists.txt index 5e094b381e..1e641fc5b2 100644 --- a/examples/widgets/tools/treemodelcompleter/CMakeLists.txt +++ b/examples/widgets/tools/treemodelcompleter/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from treemodelcompleter.pro. - cmake_minimum_required(VERSION 3.16) project(treemodelcompleter LANGUAGES CXX) diff --git a/examples/widgets/tools/undo/CMakeLists.txt b/examples/widgets/tools/undo/CMakeLists.txt index 0a842715e5..113b3b5a6d 100644 --- a/examples/widgets/tools/undo/CMakeLists.txt +++ b/examples/widgets/tools/undo/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from undo.pro. - cmake_minimum_required(VERSION 3.16) project(undo LANGUAGES CXX) diff --git a/examples/widgets/tools/undoframework/CMakeLists.txt b/examples/widgets/tools/undoframework/CMakeLists.txt index b54e5a01a7..c142f5d863 100644 --- a/examples/widgets/tools/undoframework/CMakeLists.txt +++ b/examples/widgets/tools/undoframework/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from undoframework.pro. - cmake_minimum_required(VERSION 3.16) project(undoframework LANGUAGES CXX) diff --git a/examples/widgets/touch/CMakeLists.txt b/examples/widgets/touch/CMakeLists.txt index ca6ef7fcb8..96d46484b6 100644 --- a/examples/widgets/touch/CMakeLists.txt +++ b/examples/widgets/touch/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from touch.pro. - if(NOT TARGET Qt::Widgets) return() endif() diff --git a/examples/widgets/touch/dials/CMakeLists.txt b/examples/widgets/touch/dials/CMakeLists.txt index 804ed5dccd..a7a6153631 100644 --- a/examples/widgets/touch/dials/CMakeLists.txt +++ b/examples/widgets/touch/dials/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dials.pro. - cmake_minimum_required(VERSION 3.16) project(dials LANGUAGES CXX) diff --git a/examples/widgets/touch/fingerpaint/CMakeLists.txt b/examples/widgets/touch/fingerpaint/CMakeLists.txt index 308b34c6af..f2ed4be8df 100644 --- a/examples/widgets/touch/fingerpaint/CMakeLists.txt +++ b/examples/widgets/touch/fingerpaint/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from fingerpaint.pro. - cmake_minimum_required(VERSION 3.16) project(fingerpaint LANGUAGES CXX) @@ -34,11 +32,10 @@ target_link_libraries(fingerpaint PUBLIC Qt::Gui Qt::Widgets ) -# special case begin + if (TARGET Qt::PrintSupport) target_link_libraries(fingerpaint PUBLIC Qt::PrintSupport) endif() -# special case end if(TARGET Qt::PrintSupport) target_link_libraries(fingerpaint PUBLIC diff --git a/examples/widgets/touch/knobs/CMakeLists.txt b/examples/widgets/touch/knobs/CMakeLists.txt index f13978784d..f92bb52a59 100644 --- a/examples/widgets/touch/knobs/CMakeLists.txt +++ b/examples/widgets/touch/knobs/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from knobs.pro. - cmake_minimum_required(VERSION 3.16) project(knobs LANGUAGES CXX) diff --git a/examples/widgets/touch/pinchzoom/CMakeLists.txt b/examples/widgets/touch/pinchzoom/CMakeLists.txt index 8d67cfffe3..19a9fe6c67 100644 --- a/examples/widgets/touch/pinchzoom/CMakeLists.txt +++ b/examples/widgets/touch/pinchzoom/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from pinchzoom.pro. - cmake_minimum_required(VERSION 3.16) project(pinchzoom LANGUAGES CXX) diff --git a/examples/widgets/tutorials/CMakeLists.txt b/examples/widgets/tutorials/CMakeLists.txt index 733eb42151..091bf7109b 100644 --- a/examples/widgets/tutorials/CMakeLists.txt +++ b/examples/widgets/tutorials/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tutorials.pro. - add_subdirectory(addressbook) add_subdirectory(widgets) add_subdirectory(modelview) diff --git a/examples/widgets/tutorials/addressbook/CMakeLists.txt b/examples/widgets/tutorials/addressbook/CMakeLists.txt index cb00cbc084..1d8a65bb0b 100644 --- a/examples/widgets/tutorials/addressbook/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from addressbook.pro. - qt_internal_add_example(part1) qt_internal_add_example(part2) qt_internal_add_example(part3) diff --git a/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt index ce75121bbc..c7f30def59 100644 --- a/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part1.pro. - cmake_minimum_required(VERSION 3.16) project(part1 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt index 8dc9f1c4f8..9cb1ff02a9 100644 --- a/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part2.pro. - cmake_minimum_required(VERSION 3.16) project(part2 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt index d6dd2791e4..56385d9d25 100644 --- a/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part3.pro. - cmake_minimum_required(VERSION 3.16) project(part3 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt index 5d99531f18..cf99c3b801 100644 --- a/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part4.pro. - cmake_minimum_required(VERSION 3.16) project(part4 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt index 3d908afc89..96ac3257d7 100644 --- a/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part5.pro. - cmake_minimum_required(VERSION 3.16) project(part5 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt index fb96f8b19e..673996b9a5 100644 --- a/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part6.pro. - cmake_minimum_required(VERSION 3.16) project(part6 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt index 9e45e5cdbb..41a89a2753 100644 --- a/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part7.pro. - cmake_minimum_required(VERSION 3.16) project(part7 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt index 8302fd7598..6ceae61bce 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from gsqt.pro. - qt_internal_add_example(part1) qt_internal_add_example(part2) qt_internal_add_example(part3) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt index 724f8110cd..97bd513ef5 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part1.pro. - cmake_minimum_required(VERSION 3.16) project(getting_started_part1 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt index d089e48b54..c10322046b 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part2.pro. - cmake_minimum_required(VERSION 3.16) project(getting_started_part2 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt index 2e9a5c5dae..d5e5dfb603 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part3.pro. - cmake_minimum_required(VERSION 3.16) project(getting_started_part3 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt index c3b37ee43b..6531bce71c 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part4.pro. - cmake_minimum_required(VERSION 3.16) project(getting_started_part4 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt index 62572c2f76..1cdc84dd71 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from part5.pro. - cmake_minimum_required(VERSION 3.16) project(getting_started_part5 LANGUAGES CXX) diff --git a/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt b/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt index b8fa96f996..045e6409d6 100644 --- a/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from 1_readonly.pro. - cmake_minimum_required(VERSION 3.16) project(mv_readonly LANGUAGES CXX) diff --git a/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt b/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt index 2a77358e7a..c3e9a29d54 100644 --- a/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from 2_formatting.pro. - cmake_minimum_required(VERSION 3.16) project(mv_formatting LANGUAGES CXX) diff --git a/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt b/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt index e9563715bc..b8a4c9ba1f 100644 --- a/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from 3_changingmodel.pro. - cmake_minimum_required(VERSION 3.16) project(mv_changingmodel LANGUAGES CXX) diff --git a/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt b/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt index 7a771eb267..80d55f3096 100644 --- a/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from 4_headers.pro. - cmake_minimum_required(VERSION 3.16) project(mv_headers LANGUAGES CXX) diff --git a/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt b/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt index a5ba3021ae..61cffe039f 100644 --- a/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from 5_edit.pro. - cmake_minimum_required(VERSION 3.16) project(mv_edit LANGUAGES CXX) diff --git a/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt b/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt index ac94572754..b4ba1d7256 100644 --- a/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from 6_treeview.pro. - cmake_minimum_required(VERSION 3.16) project(mv_tree LANGUAGES CXX) diff --git a/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt b/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt index bf9e8197eb..aef8718e5f 100644 --- a/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from 7_selections.pro. - cmake_minimum_required(VERSION 3.16) project(mv_selections LANGUAGES CXX) diff --git a/examples/widgets/tutorials/modelview/CMakeLists.txt b/examples/widgets/tutorials/modelview/CMakeLists.txt index 49ca672e48..889b07b8da 100644 --- a/examples/widgets/tutorials/modelview/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from modelview.pro. - qt_internal_add_example(1_readonly) qt_internal_add_example(2_formatting) qt_internal_add_example(3_changingmodel) diff --git a/examples/widgets/tutorials/notepad/CMakeLists.txt b/examples/widgets/tutorials/notepad/CMakeLists.txt index e8d24a7181..aa11c84a6b 100644 --- a/examples/widgets/tutorials/notepad/CMakeLists.txt +++ b/examples/widgets/tutorials/notepad/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from notepad.pro. - cmake_minimum_required(VERSION 3.16) project(notepad LANGUAGES CXX) diff --git a/examples/widgets/tutorials/widgets/CMakeLists.txt b/examples/widgets/tutorials/widgets/CMakeLists.txt index fcf0ed9ddd..2898f65da8 100644 --- a/examples/widgets/tutorials/widgets/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from widgets.pro. - qt_internal_add_example(toplevel) qt_internal_add_example(childwidget) qt_internal_add_example(windowlayout) diff --git a/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt b/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt index c85862cd01..e88197dc95 100644 --- a/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from childwidget.pro. - cmake_minimum_required(VERSION 3.16) project(childwidget LANGUAGES CXX) diff --git a/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt b/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt index ad48b1eed3..e3b31cfa4e 100644 --- a/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from nestedlayouts.pro. - cmake_minimum_required(VERSION 3.16) project(nestedlayouts LANGUAGES CXX) diff --git a/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt b/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt index 82d15bc3c5..14bd7a63fa 100644 --- a/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from toplevel.pro. - cmake_minimum_required(VERSION 3.16) project(toplevel LANGUAGES CXX) diff --git a/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt b/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt index e566af85a5..ae8b995868 100644 --- a/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from windowlayout.pro. - cmake_minimum_required(VERSION 3.16) project(windowlayout LANGUAGES CXX) diff --git a/examples/widgets/widgets/CMakeLists.txt b/examples/widgets/widgets/CMakeLists.txt index 34d3d28b67..25912d2ec0 100644 --- a/examples/widgets/widgets/CMakeLists.txt +++ b/examples/widgets/widgets/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from widgets.pro. - qt_internal_add_example(analogclock) qt_internal_add_example(calculator) qt_internal_add_example(calendarwidget) diff --git a/examples/widgets/widgets/analogclock/CMakeLists.txt b/examples/widgets/widgets/analogclock/CMakeLists.txt index f972359e1a..b775b23485 100644 --- a/examples/widgets/widgets/analogclock/CMakeLists.txt +++ b/examples/widgets/widgets/analogclock/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from analogclock.pro. - cmake_minimum_required(VERSION 3.16) project(analogclock LANGUAGES CXX) diff --git a/examples/widgets/widgets/calculator/CMakeLists.txt b/examples/widgets/widgets/calculator/CMakeLists.txt index 7332c3b5ca..419e4e3bd1 100644 --- a/examples/widgets/widgets/calculator/CMakeLists.txt +++ b/examples/widgets/widgets/calculator/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from calculator.pro. - cmake_minimum_required(VERSION 3.16) project(calculator LANGUAGES CXX) diff --git a/examples/widgets/widgets/calendarwidget/CMakeLists.txt b/examples/widgets/widgets/calendarwidget/CMakeLists.txt index f95f2f9131..b1ee4577f1 100644 --- a/examples/widgets/widgets/calendarwidget/CMakeLists.txt +++ b/examples/widgets/widgets/calendarwidget/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from calendarwidget.pro. - cmake_minimum_required(VERSION 3.16) project(calendarwidget LANGUAGES CXX) diff --git a/examples/widgets/widgets/charactermap/CMakeLists.txt b/examples/widgets/widgets/charactermap/CMakeLists.txt index 4bb71104dd..65956f7afd 100644 --- a/examples/widgets/widgets/charactermap/CMakeLists.txt +++ b/examples/widgets/widgets/charactermap/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from charactermap.pro. - cmake_minimum_required(VERSION 3.16) project(charactermap LANGUAGES CXX) diff --git a/examples/widgets/widgets/codeeditor/CMakeLists.txt b/examples/widgets/widgets/codeeditor/CMakeLists.txt index f5c843933b..9eb4f1a8bd 100644 --- a/examples/widgets/widgets/codeeditor/CMakeLists.txt +++ b/examples/widgets/widgets/codeeditor/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from codeeditor.pro. - cmake_minimum_required(VERSION 3.16) project(codeeditor LANGUAGES CXX) diff --git a/examples/widgets/widgets/digitalclock/CMakeLists.txt b/examples/widgets/widgets/digitalclock/CMakeLists.txt index 684da7f24d..e2e1c4a1e3 100644 --- a/examples/widgets/widgets/digitalclock/CMakeLists.txt +++ b/examples/widgets/widgets/digitalclock/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from digitalclock.pro. - cmake_minimum_required(VERSION 3.16) project(digitalclock LANGUAGES CXX) diff --git a/examples/widgets/widgets/elidedlabel/CMakeLists.txt b/examples/widgets/widgets/elidedlabel/CMakeLists.txt index e6b0a02c1b..feb46d9720 100644 --- a/examples/widgets/widgets/elidedlabel/CMakeLists.txt +++ b/examples/widgets/widgets/elidedlabel/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from elidedlabel.pro. - cmake_minimum_required(VERSION 3.16) project(elidedlabel LANGUAGES CXX) diff --git a/examples/widgets/widgets/groupbox/CMakeLists.txt b/examples/widgets/widgets/groupbox/CMakeLists.txt index 313d71b6fd..9108a0a868 100644 --- a/examples/widgets/widgets/groupbox/CMakeLists.txt +++ b/examples/widgets/widgets/groupbox/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from groupbox.pro. - cmake_minimum_required(VERSION 3.16) project(groupbox LANGUAGES CXX) diff --git a/examples/widgets/widgets/icons/CMakeLists.txt b/examples/widgets/widgets/icons/CMakeLists.txt index 07ec4174a0..52a59c1d3d 100644 --- a/examples/widgets/widgets/icons/CMakeLists.txt +++ b/examples/widgets/widgets/icons/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from icons.pro. - cmake_minimum_required(VERSION 3.16) project(icons LANGUAGES CXX) @@ -29,7 +27,7 @@ set_target_properties(icons PROPERTIES MACOSX_BUNDLE TRUE ) target_compile_definitions(icons PUBLIC - SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" # special case + SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" ) target_link_libraries(icons PUBLIC diff --git a/examples/widgets/widgets/imageviewer/CMakeLists.txt b/examples/widgets/widgets/imageviewer/CMakeLists.txt index 650a467108..96b782b0cd 100644 --- a/examples/widgets/widgets/imageviewer/CMakeLists.txt +++ b/examples/widgets/widgets/imageviewer/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from imageviewer.pro. - cmake_minimum_required(VERSION 3.16) project(imageviewer LANGUAGES CXX) @@ -33,11 +31,10 @@ target_link_libraries(imageviewer PUBLIC Qt::Gui Qt::Widgets ) -# special case begin + if (TARGET Qt::PrintSupport) target_link_libraries(imageviewer PUBLIC Qt::PrintSupport) endif() -# special case end if(TARGET Qt::PrintSupport) target_link_libraries(imageviewer PUBLIC diff --git a/examples/widgets/widgets/lineedits/CMakeLists.txt b/examples/widgets/widgets/lineedits/CMakeLists.txt index f5c127d297..7cc503cdfc 100644 --- a/examples/widgets/widgets/lineedits/CMakeLists.txt +++ b/examples/widgets/widgets/lineedits/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from lineedits.pro. - cmake_minimum_required(VERSION 3.16) project(lineedits LANGUAGES CXX) diff --git a/examples/widgets/widgets/mousebuttons/CMakeLists.txt b/examples/widgets/widgets/mousebuttons/CMakeLists.txt index df186c8d61..8083642320 100644 --- a/examples/widgets/widgets/mousebuttons/CMakeLists.txt +++ b/examples/widgets/widgets/mousebuttons/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from mousebuttons.pro. - cmake_minimum_required(VERSION 3.16) project(mousebuttons LANGUAGES CXX) diff --git a/examples/widgets/widgets/movie/CMakeLists.txt b/examples/widgets/widgets/movie/CMakeLists.txt index f16ac5fbcf..37ff633a6a 100644 --- a/examples/widgets/widgets/movie/CMakeLists.txt +++ b/examples/widgets/widgets/movie/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from movie.pro. - cmake_minimum_required(VERSION 3.16) project(movie LANGUAGES CXX) diff --git a/examples/widgets/widgets/scribble/CMakeLists.txt b/examples/widgets/widgets/scribble/CMakeLists.txt index b0ea465d55..92001b138f 100644 --- a/examples/widgets/widgets/scribble/CMakeLists.txt +++ b/examples/widgets/widgets/scribble/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from scribble.pro. - cmake_minimum_required(VERSION 3.16) project(scribble LANGUAGES CXX) @@ -34,11 +32,10 @@ target_link_libraries(scribble PUBLIC Qt::Gui Qt::Widgets ) -# special case begin + if (TARGET Qt::PrintSupport) target_link_libraries(scribble PUBLIC Qt::PrintSupport) endif() -# special case end if(TARGET Qt::PrintSupport) target_link_libraries(scribble PUBLIC diff --git a/examples/widgets/widgets/shapedclock/CMakeLists.txt b/examples/widgets/widgets/shapedclock/CMakeLists.txt index dc6b3f4105..5271bcf096 100644 --- a/examples/widgets/widgets/shapedclock/CMakeLists.txt +++ b/examples/widgets/widgets/shapedclock/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from shapedclock.pro. - cmake_minimum_required(VERSION 3.16) project(shapedclock LANGUAGES CXX) diff --git a/examples/widgets/widgets/sliders/CMakeLists.txt b/examples/widgets/widgets/sliders/CMakeLists.txt index 8598087289..8354eef6af 100644 --- a/examples/widgets/widgets/sliders/CMakeLists.txt +++ b/examples/widgets/widgets/sliders/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from sliders.pro. - cmake_minimum_required(VERSION 3.16) project(sliders LANGUAGES CXX) diff --git a/examples/widgets/widgets/spinboxes/CMakeLists.txt b/examples/widgets/widgets/spinboxes/CMakeLists.txt index 481530f910..bc38a8f360 100644 --- a/examples/widgets/widgets/spinboxes/CMakeLists.txt +++ b/examples/widgets/widgets/spinboxes/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from spinboxes.pro. - cmake_minimum_required(VERSION 3.16) project(spinboxes LANGUAGES CXX) diff --git a/examples/widgets/widgets/styles/CMakeLists.txt b/examples/widgets/widgets/styles/CMakeLists.txt index ac33b59b72..ca478eccaa 100644 --- a/examples/widgets/widgets/styles/CMakeLists.txt +++ b/examples/widgets/widgets/styles/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from styles.pro. - cmake_minimum_required(VERSION 3.16) project(styles LANGUAGES CXX) diff --git a/examples/widgets/widgets/stylesheet/CMakeLists.txt b/examples/widgets/widgets/stylesheet/CMakeLists.txt index 63286c3e95..743859d5cb 100644 --- a/examples/widgets/widgets/stylesheet/CMakeLists.txt +++ b/examples/widgets/widgets/stylesheet/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from stylesheet.pro. - cmake_minimum_required(VERSION 3.16) project(stylesheet LANGUAGES CXX) diff --git a/examples/widgets/widgets/tablet/CMakeLists.txt b/examples/widgets/widgets/tablet/CMakeLists.txt index 233c5cb03c..f2faeef3f9 100644 --- a/examples/widgets/widgets/tablet/CMakeLists.txt +++ b/examples/widgets/widgets/tablet/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tablet.pro. - cmake_minimum_required(VERSION 3.16) project(qttablet LANGUAGES CXX) diff --git a/examples/widgets/widgets/tetrix/CMakeLists.txt b/examples/widgets/widgets/tetrix/CMakeLists.txt index 04a48b337b..6e76e5c9f0 100644 --- a/examples/widgets/widgets/tetrix/CMakeLists.txt +++ b/examples/widgets/widgets/tetrix/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tetrix.pro. - cmake_minimum_required(VERSION 3.16) project(tetrix LANGUAGES CXX) diff --git a/examples/widgets/widgets/tooltips/CMakeLists.txt b/examples/widgets/widgets/tooltips/CMakeLists.txt index 49291c48f7..8126e7eb06 100644 --- a/examples/widgets/widgets/tooltips/CMakeLists.txt +++ b/examples/widgets/widgets/tooltips/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from tooltips.pro. - cmake_minimum_required(VERSION 3.16) project(tooltips LANGUAGES CXX) diff --git a/examples/widgets/widgets/validators/CMakeLists.txt b/examples/widgets/widgets/validators/CMakeLists.txt index a14f210711..c6e9ea905f 100644 --- a/examples/widgets/widgets/validators/CMakeLists.txt +++ b/examples/widgets/widgets/validators/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from validators.pro. - cmake_minimum_required(VERSION 3.16) project(validators LANGUAGES CXX) diff --git a/examples/widgets/widgets/wiggly/CMakeLists.txt b/examples/widgets/widgets/wiggly/CMakeLists.txt index 41f29a804d..26bd8d14e8 100644 --- a/examples/widgets/widgets/wiggly/CMakeLists.txt +++ b/examples/widgets/widgets/wiggly/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from wiggly.pro. - cmake_minimum_required(VERSION 3.16) project(wiggly LANGUAGES CXX) diff --git a/examples/widgets/widgets/windowflags/CMakeLists.txt b/examples/widgets/widgets/windowflags/CMakeLists.txt index 513f1c7522..914bfd60eb 100644 --- a/examples/widgets/widgets/windowflags/CMakeLists.txt +++ b/examples/widgets/widgets/windowflags/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from windowflags.pro. - cmake_minimum_required(VERSION 3.16) project(windowflags LANGUAGES CXX) diff --git a/examples/widgets/windowcontainer/CMakeLists.txt b/examples/widgets/windowcontainer/CMakeLists.txt index 9d344fb60e..b4f948311f 100644 --- a/examples/widgets/windowcontainer/CMakeLists.txt +++ b/examples/widgets/windowcontainer/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from windowcontainer.pro. - cmake_minimum_required(VERSION 3.16) project(windowcontainer LANGUAGES CXX) diff --git a/examples/xml/CMakeLists.txt b/examples/xml/CMakeLists.txt index f9fcacb31c..7f07939f4e 100644 --- a/examples/xml/CMakeLists.txt +++ b/examples/xml/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from xml.pro. - qt_internal_add_example(htmlinfo) qt_internal_add_example(xmlstreamlint) if(TARGET Qt::Widgets) diff --git a/examples/xml/dombookmarks/CMakeLists.txt b/examples/xml/dombookmarks/CMakeLists.txt index 7381367e5f..0bac0afe66 100644 --- a/examples/xml/dombookmarks/CMakeLists.txt +++ b/examples/xml/dombookmarks/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dombookmarks.pro. - cmake_minimum_required(VERSION 3.16) project(dombookmarks LANGUAGES CXX) diff --git a/examples/xml/htmlinfo/CMakeLists.txt b/examples/xml/htmlinfo/CMakeLists.txt index 3c7744a1bb..55b1af2105 100644 --- a/examples/xml/htmlinfo/CMakeLists.txt +++ b/examples/xml/htmlinfo/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from htmlinfo.pro. - cmake_minimum_required(VERSION 3.16) project(htmlinfo LANGUAGES CXX) diff --git a/examples/xml/rsslisting/CMakeLists.txt b/examples/xml/rsslisting/CMakeLists.txt index 3b60cef7b9..b2ea3e342c 100644 --- a/examples/xml/rsslisting/CMakeLists.txt +++ b/examples/xml/rsslisting/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from rsslisting.pro. - cmake_minimum_required(VERSION 3.16) project(rsslisting LANGUAGES CXX) diff --git a/examples/xml/streambookmarks/CMakeLists.txt b/examples/xml/streambookmarks/CMakeLists.txt index 9262bef93d..0b5f7b9f59 100644 --- a/examples/xml/streambookmarks/CMakeLists.txt +++ b/examples/xml/streambookmarks/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from streambookmarks.pro. - cmake_minimum_required(VERSION 3.16) project(streambookmarks LANGUAGES CXX) diff --git a/examples/xml/xmlstreamlint/CMakeLists.txt b/examples/xml/xmlstreamlint/CMakeLists.txt index 76b16b1053..cda75d9f06 100644 --- a/examples/xml/xmlstreamlint/CMakeLists.txt +++ b/examples/xml/xmlstreamlint/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from xmlstreamlint.pro. - cmake_minimum_required(VERSION 3.16) project(xmlstreamlint LANGUAGES CXX) @@ -26,7 +24,7 @@ set_target_properties(xmlstreamlint PROPERTIES ) target_link_libraries(xmlstreamlint PUBLIC Qt::Core - Qt::Xml # special case: add + Qt::Xml ) install(TARGETS xmlstreamlint |