From 303ff94dad273b3518b096818a2bed9d529b21ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Fri, 3 Dec 2021 15:50:59 +0100 Subject: Remove .prev_CMakeLists.txt These are left-overs from the initial qmake2cmake conversion. Change-Id: Ie15c9ff022ea4566d10c1ba74599de9af83d29a7 Reviewed-by: Alexandru Croitor (cherry picked from commit 251e84800793d3f74d7d8e7543eb5e9dba3834ad) Reviewed-by: Qt Cherry-pick Bot --- examples/dbus/chat/.prev_CMakeLists.txt | 43 -------- .../remotecontrolledcar/car/.prev_CMakeLists.txt | 42 -------- .../controller/.prev_CMakeLists.txt | 42 -------- examples/embedded/flightinfo/.prev_CMakeLists.txt | 47 -------- .../embedded/styleexample/.prev_CMakeLists.txt | 52 --------- examples/gui/analogclock/.prev_CMakeLists.txt | 42 -------- examples/gui/rasterwindow/.prev_CMakeLists.txt | 42 -------- examples/network/.prev_CMakeLists.txt | 38 ------- examples/opengl/openglwindow/.prev_CMakeLists.txt | 36 ------- examples/qpa/qrasterwindow/.prev_CMakeLists.txt | 29 ----- examples/qtconcurrent/map/.prev_CMakeLists.txt | 39 ------- examples/sql/.prev_CMakeLists.txt | 18 ---- examples/widgets/.prev_CMakeLists.txt | 32 ------ examples/widgets/dialogs/.prev_CMakeLists.txt | 13 --- .../draganddrop/puzzle/.prev_CMakeLists.txt | 55 ---------- .../widgets/graphicsview/chip/.prev_CMakeLists.txt | 66 ------------ .../graphicsview/flowlayout/.prev_CMakeLists.txt | 41 ------- examples/widgets/itemviews/.prev_CMakeLists.txt | 27 ----- .../itemviews/pixelator/.prev_CMakeLists.txt | 61 ----------- .../widgets/itemviews/puzzle/.prev_CMakeLists.txt | 55 ---------- .../itemviews/spreadsheet/.prev_CMakeLists.txt | 62 ----------- .../mainwindows/dockwidgets/.prev_CMakeLists.txt | 62 ----------- examples/widgets/painting/.prev_CMakeLists.txt | 13 --- .../widgets/painting/affine/.prev_CMakeLists.txt | 118 -------------------- .../painting/composition/.prev_CMakeLists.txt | 119 --------------------- .../widgets/painting/deform/.prev_CMakeLists.txt | 117 -------------------- .../painting/gradients/.prev_CMakeLists.txt | 117 -------------------- .../painting/pathstroke/.prev_CMakeLists.txt | 117 -------------------- .../widgets/richtext/textedit/.prev_CMakeLists.txt | 108 ------------------- examples/widgets/tools/.prev_CMakeLists.txt | 17 --- .../echoplugin/echowindow/.prev_CMakeLists.txt | 41 ------- .../tools/echoplugin/plugin/.prev_CMakeLists.txt | 35 ------ .../tools/plugandpaint/app/.prev_CMakeLists.txt | 74 ------------- .../plugins/basictools/.prev_CMakeLists.txt | 36 ------- .../plugins/extrafilters/.prev_CMakeLists.txt | 36 ------- .../widgets/tools/styleplugin/.prev_CMakeLists.txt | 4 - .../tools/styleplugin/plugin/.prev_CMakeLists.txt | 32 ------ .../widgets/touch/fingerpaint/.prev_CMakeLists.txt | 47 -------- .../widgets/tutorials/notepad/.prev_CMakeLists.txt | 76 ------------- .../widgets/widgets/icons/.prev_CMakeLists.txt | 47 -------- .../widgets/imageviewer/.prev_CMakeLists.txt | 46 -------- .../widgets/widgets/scribble/.prev_CMakeLists.txt | 47 -------- examples/xml/htmlinfo/.prev_CMakeLists.txt | 44 -------- examples/xml/xmlstreamlint/.prev_CMakeLists.txt | 35 ------ 44 files changed, 2270 deletions(-) delete mode 100644 examples/dbus/chat/.prev_CMakeLists.txt delete mode 100644 examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt delete mode 100644 examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt delete mode 100644 examples/embedded/flightinfo/.prev_CMakeLists.txt delete mode 100644 examples/embedded/styleexample/.prev_CMakeLists.txt delete mode 100644 examples/gui/analogclock/.prev_CMakeLists.txt delete mode 100644 examples/gui/rasterwindow/.prev_CMakeLists.txt delete mode 100644 examples/network/.prev_CMakeLists.txt delete mode 100644 examples/opengl/openglwindow/.prev_CMakeLists.txt delete mode 100644 examples/qpa/qrasterwindow/.prev_CMakeLists.txt delete mode 100644 examples/qtconcurrent/map/.prev_CMakeLists.txt delete mode 100644 examples/sql/.prev_CMakeLists.txt delete mode 100644 examples/widgets/.prev_CMakeLists.txt delete mode 100644 examples/widgets/dialogs/.prev_CMakeLists.txt delete mode 100644 examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt delete mode 100644 examples/widgets/graphicsview/chip/.prev_CMakeLists.txt delete mode 100644 examples/widgets/graphicsview/flowlayout/.prev_CMakeLists.txt delete mode 100644 examples/widgets/itemviews/.prev_CMakeLists.txt delete mode 100644 examples/widgets/itemviews/pixelator/.prev_CMakeLists.txt delete mode 100644 examples/widgets/itemviews/puzzle/.prev_CMakeLists.txt delete mode 100644 examples/widgets/itemviews/spreadsheet/.prev_CMakeLists.txt delete mode 100644 examples/widgets/mainwindows/dockwidgets/.prev_CMakeLists.txt delete mode 100644 examples/widgets/painting/.prev_CMakeLists.txt delete mode 100644 examples/widgets/painting/affine/.prev_CMakeLists.txt delete mode 100644 examples/widgets/painting/composition/.prev_CMakeLists.txt delete mode 100644 examples/widgets/painting/deform/.prev_CMakeLists.txt delete mode 100644 examples/widgets/painting/gradients/.prev_CMakeLists.txt delete mode 100644 examples/widgets/painting/pathstroke/.prev_CMakeLists.txt delete mode 100644 examples/widgets/richtext/textedit/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tools/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tools/echoplugin/plugin/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tools/plugandpaint/app/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tools/plugandpaint/plugins/basictools/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tools/plugandpaint/plugins/extrafilters/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tools/styleplugin/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tools/styleplugin/plugin/.prev_CMakeLists.txt delete mode 100644 examples/widgets/touch/fingerpaint/.prev_CMakeLists.txt delete mode 100644 examples/widgets/tutorials/notepad/.prev_CMakeLists.txt delete mode 100644 examples/widgets/widgets/icons/.prev_CMakeLists.txt delete mode 100644 examples/widgets/widgets/imageviewer/.prev_CMakeLists.txt delete mode 100644 examples/widgets/widgets/scribble/.prev_CMakeLists.txt delete mode 100644 examples/xml/htmlinfo/.prev_CMakeLists.txt delete mode 100644 examples/xml/xmlstreamlint/.prev_CMakeLists.txt (limited to 'examples') diff --git a/examples/dbus/chat/.prev_CMakeLists.txt b/examples/dbus/chat/.prev_CMakeLists.txt deleted file mode 100644 index 9396cce3ac..0000000000 --- a/examples/dbus/chat/.prev_CMakeLists.txt +++ /dev/null @@ -1,43 +0,0 @@ -# Generated from chat.pro. - -cmake_minimum_required(VERSION 3.14) -project(chat LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/chat") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS DBus) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(chat - chat.cpp chat.h - chatmainwindow.ui - chatsetnickname.ui -) -set_target_properties(chat PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(chat PUBLIC - Qt::Core - Qt::DBus - Qt::Gui - Qt::Widgets -) - -install(TARGETS chat - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt deleted file mode 100644 index 86b3fb8e52..0000000000 --- a/examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -# Generated from car.pro. - -cmake_minimum_required(VERSION 3.14) -project(car LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/remotecontrolledcar/car") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS DBus) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(car - car.cpp car.h - main.cpp -) -set_target_properties(car PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(car PUBLIC - Qt::Core - Qt::DBus - Qt::Gui - Qt::Widgets -) - -install(TARGETS car - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt deleted file mode 100644 index f1916c93f2..0000000000 --- a/examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -# Generated from controller.pro. - -cmake_minimum_required(VERSION 3.14) -project(controller LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/remotecontrolledcar/controller") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS DBus) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(controller - controller.cpp controller.h controller.ui - main.cpp -) -set_target_properties(controller PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(controller PUBLIC - Qt::Core - Qt::DBus - Qt::Gui - Qt::Widgets -) - -install(TARGETS controller - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/embedded/flightinfo/.prev_CMakeLists.txt b/examples/embedded/flightinfo/.prev_CMakeLists.txt deleted file mode 100644 index f7898e8ed8..0000000000 --- a/examples/embedded/flightinfo/.prev_CMakeLists.txt +++ /dev/null @@ -1,47 +0,0 @@ -# Generated from flightinfo.pro. - -cmake_minimum_required(VERSION 3.14) -project(flightinfo LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/embedded/flightinfo") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Network) -find_package(Qt6 COMPONENTS Widgets) - -add_qt_gui_executable(flightinfo - flightinfo.cpp - form.ui -) -target_link_libraries(flightinfo PUBLIC - Qt::Core - Qt::Gui - Qt::Network - Qt::Widgets -) - - -# Resources: -set(flightinfo_resource_files - "aircraft.png" -) - -qt6_add_resources(flightinfo "flightinfo" - PREFIX - "/" - FILES - ${flightinfo_resource_files} -) - -install(TARGETS flightinfo - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/embedded/styleexample/.prev_CMakeLists.txt b/examples/embedded/styleexample/.prev_CMakeLists.txt deleted file mode 100644 index ac03e58346..0000000000 --- a/examples/embedded/styleexample/.prev_CMakeLists.txt +++ /dev/null @@ -1,52 +0,0 @@ -# Generated from styleexample.pro. - -cmake_minimum_required(VERSION 3.14) -project(styleexample LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/embedded/styleexample") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -add_qt_gui_executable(styleexample - main.cpp - stylewidget.cpp stylewidget.h stylewidget.ui -) -target_link_libraries(styleexample PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(styleexample_resource_files - "files/add.png" - "files/application.qss" - "files/blue.qss" - "files/khaki.qss" - "files/nature_1.jpg" - "files/nostyle.qss" - "files/remove.png" - "files/transparent.qss" -) - -qt6_add_resources(styleexample "styleexample" - PREFIX - "/" - FILES - ${styleexample_resource_files} -) - -install(TARGETS styleexample - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/gui/analogclock/.prev_CMakeLists.txt b/examples/gui/analogclock/.prev_CMakeLists.txt deleted file mode 100644 index 90c6091d68..0000000000 --- a/examples/gui/analogclock/.prev_CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -# Generated from analogclock.pro. - -cmake_minimum_required(VERSION 3.14) -project(analogclock LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/gui/analogclock") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) - -qt_add_executable(analogclock - ../rasterwindow/rasterwindow.cpp ../rasterwindow/rasterwindow.h - main.cpp -) -set_target_properties(analogclock PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_include_directories(analogclock PUBLIC - ../rasterwindow -) - -target_link_libraries(analogclock PUBLIC - Qt::Core - Qt::Gui -) - -install(TARGETS analogclock - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/gui/rasterwindow/.prev_CMakeLists.txt b/examples/gui/rasterwindow/.prev_CMakeLists.txt deleted file mode 100644 index dddb5586db..0000000000 --- a/examples/gui/rasterwindow/.prev_CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -# Generated from rasterwindow.pro. - -cmake_minimum_required(VERSION 3.14) -project(rasterwindow LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/gui/rasterwindow") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) - -qt_add_executable(rasterwindow - main.cpp - rasterwindow.cpp rasterwindow.h -) -set_target_properties(rasterwindow PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_include_directories(rasterwindow PUBLIC - ${CMAKE_CURRENT_SOURCE_DIR} -) - -target_link_libraries(rasterwindow PUBLIC - Qt::Core - Qt::Gui -) - -install(TARGETS rasterwindow - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/network/.prev_CMakeLists.txt b/examples/network/.prev_CMakeLists.txt deleted file mode 100644 index c28c951b69..0000000000 --- a/examples/network/.prev_CMakeLists.txt +++ /dev/null @@ -1,38 +0,0 @@ -# Generated from network.pro. - -if(NOT TARGET Qt::Network) - return() -endif() -add_subdirectory(download) -add_subdirectory(downloadmanager) -if(NOT INTEGRITY) - add_subdirectory(dnslookup) -endif() -if(TARGET Qt::Widgets) - add_subdirectory(blockingfortuneclient) - add_subdirectory(broadcastreceiver) - add_subdirectory(broadcastsender) - add_subdirectory(http) - add_subdirectory(loopback) - add_subdirectory(threadedfortuneserver) - add_subdirectory(googlesuggest) - add_subdirectory(torrent) - add_subdirectory(multicastreceiver) - add_subdirectory(multicastsender) - add_subdirectory(fortuneclient) - add_subdirectory(fortuneserver) -endif() -if(QT_FEATURE_processenvironment AND TARGET Qt::Widgets) - add_subdirectory(network-chat) -endif() -if(QT_FEATURE_ssl AND TARGET Qt::Widgets) - add_subdirectory(securesocketclient) -endif() -if(QT_FEATURE_dtls AND TARGET Qt::Widgets) - add_subdirectory(secureudpserver) - add_subdirectory(secureudpclient) -endif() -if(QT_FEATURE_sctp AND TARGET Qt::Widgets) - add_subdirectory(multistreamserver) - add_subdirectory(multistreamclient) -endif() diff --git a/examples/opengl/openglwindow/.prev_CMakeLists.txt b/examples/opengl/openglwindow/.prev_CMakeLists.txt deleted file mode 100644 index 9780e18c7f..0000000000 --- a/examples/opengl/openglwindow/.prev_CMakeLists.txt +++ /dev/null @@ -1,36 +0,0 @@ -# Generated from openglwindow.pro. - -cmake_minimum_required(VERSION 3.14) -project(openglwindow LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/opengl/openglwindow") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS OpenGL) - -add_qt_gui_executable(openglwindow - main.cpp - openglwindow.cpp openglwindow.h -) -target_include_directories(openglwindow PUBLIC - ${CMAKE_CURRENT_SOURCE_DIR} -) - -target_link_libraries(openglwindow PUBLIC - Qt::Core - Qt::Gui - Qt::OpenGL -) - -install(TARGETS openglwindow - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/qpa/qrasterwindow/.prev_CMakeLists.txt b/examples/qpa/qrasterwindow/.prev_CMakeLists.txt deleted file mode 100644 index 8fd75f1079..0000000000 --- a/examples/qpa/qrasterwindow/.prev_CMakeLists.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Generated from qrasterwindow.pro. - -cmake_minimum_required(VERSION 3.14) -project(qrasterwindow LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/qpa/qrasterwindow") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) - -add_qt_gui_executable(qrasterwindow - main.cpp -) -target_link_libraries(qrasterwindow PUBLIC - Qt::Core - Qt::Gui -) - -install(TARGETS qrasterwindow - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/qtconcurrent/map/.prev_CMakeLists.txt b/examples/qtconcurrent/map/.prev_CMakeLists.txt deleted file mode 100644 index 0e3215c225..0000000000 --- a/examples/qtconcurrent/map/.prev_CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -# Generated from map.pro. - -cmake_minimum_required(VERSION 3.14) -project(mapdemo LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qtconcurrent/map") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Concurrent) - -qt_add_executable(mapdemo - main.cpp -) -set_target_properties(mapdemo PROPERTIES - WIN32_EXECUTABLE FALSE - MACOSX_BUNDLE FALSE -) -target_link_libraries(mapdemo PUBLIC - Qt::Concurrent - Qt::Core - Qt::Gui -) - -install(TARGETS mapdemo - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/sql/.prev_CMakeLists.txt b/examples/sql/.prev_CMakeLists.txt deleted file mode 100644 index 18e9112f11..0000000000 --- a/examples/sql/.prev_CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ -# Generated from sql.pro. - -if(NOT TARGET Qt::Widgets) - return() -endif() -add_subdirectory(books) -add_subdirectory(drilldown) -add_subdirectory(cachedtable) -add_subdirectory(querymodel) -add_subdirectory(relationaltablemodel) -add_subdirectory(sqlwidgetmapper) -add_subdirectory(tablemodel) -if(TARGET Qt::Xml) - add_subdirectory(masterdetail) -endif() -if(QT_BUILD_PARTS___contains___tools AND NOT CMAKE_CROSSCOMPILING) - add_subdirectory(sqlbrowser) -endif() diff --git a/examples/widgets/.prev_CMakeLists.txt b/examples/widgets/.prev_CMakeLists.txt deleted file mode 100644 index cffc0a6293..0000000000 --- a/examples/widgets/.prev_CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# Generated from widgets.pro. - -if(NOT TARGET Qt::Widgets) - return() -endif() -if(QT_FEATURE_animation) - add_subdirectory(animation) -endif() -add_subdirectory(desktop) -add_subdirectory(dialogs) -add_subdirectory(effects) -add_subdirectory(gallery) -add_subdirectory(gestures) -add_subdirectory(graphicsview) -add_subdirectory(itemviews) -add_subdirectory(layouts) -add_subdirectory(painting) -add_subdirectory(richtext) -add_subdirectory(scroller) -add_subdirectory(tools) -add_subdirectory(touch) -add_subdirectory(tutorials) -add_subdirectory(widgets) -if(QT_FEATURE_draganddrop) - add_subdirectory(draganddrop) -endif() -if(QT_FEATURE_cursor) - add_subdirectory(mainwindows) -endif() -if(QT_FEATURE_opengl AND TARGET Qt::Gui) - add_subdirectory(windowcontainer) -endif() diff --git a/examples/widgets/dialogs/.prev_CMakeLists.txt b/examples/widgets/dialogs/.prev_CMakeLists.txt deleted file mode 100644 index 354424bf1f..0000000000 --- a/examples/widgets/dialogs/.prev_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ -# Generated from dialogs.pro. - -if(QT_FEATURE_wizard) - add_subdirectory(classwizard) - add_subdirectory(trivialwizard) -endif() -add_subdirectory(extension) -add_subdirectory(findfiles) -add_subdirectory(standarddialogs) -add_subdirectory(tabdialog) -if(QT_FEATURE_wizard AND TARGET Qt::PrintSupport) - add_subdirectory(licensewizard) -endif() diff --git a/examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt b/examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt deleted file mode 100644 index bcc7708662..0000000000 --- a/examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt +++ /dev/null @@ -1,55 +0,0 @@ -# Generated from puzzle.pro. - -cmake_minimum_required(VERSION 3.14) -project(puzzle LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/puzzle") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(puzzle - main.cpp - mainwindow.cpp mainwindow.h - pieceslist.cpp pieceslist.h - puzzlewidget.cpp puzzlewidget.h -) -set_target_properties(puzzle PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(puzzle PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(puzzle_resource_files - "example.jpg" -) - -qt6_add_resources(puzzle "puzzle" - PREFIX - "/images" - FILES - ${puzzle_resource_files} -) - -install(TARGETS puzzle - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/graphicsview/chip/.prev_CMakeLists.txt b/examples/widgets/graphicsview/chip/.prev_CMakeLists.txt deleted file mode 100644 index 1140aeb969..0000000000 --- a/examples/widgets/graphicsview/chip/.prev_CMakeLists.txt +++ /dev/null @@ -1,66 +0,0 @@ -# Generated from chip.pro. - -cmake_minimum_required(VERSION 3.14) -project(chip LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/chip") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(chip - chip.cpp chip.h - main.cpp - mainwindow.cpp mainwindow.h - view.cpp view.h -) -set_target_properties(chip PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(chip PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(images_resource_files - "fileprint.png" - "qt4logo.png" - "rotateleft.png" - "rotateright.png" - "zoomin.png" - "zoomout.png" -) - -qt6_add_resources(chip "images" - PREFIX - "/" - FILES - ${images_resource_files} -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(chip PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS chip - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/graphicsview/flowlayout/.prev_CMakeLists.txt b/examples/widgets/graphicsview/flowlayout/.prev_CMakeLists.txt deleted file mode 100644 index 4208ba303e..0000000000 --- a/examples/widgets/graphicsview/flowlayout/.prev_CMakeLists.txt +++ /dev/null @@ -1,41 +0,0 @@ -# Generated from flowlayout.pro. - -cmake_minimum_required(VERSION 3.14) -project(flowlayout LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/flowlayout") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(flowlayout - flowlayout.cpp flowlayout.h - main.cpp - window.cpp window.h -) -set_target_properties(flowlayout PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(flowlayout PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -install(TARGETS flowlayout - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/itemviews/.prev_CMakeLists.txt b/examples/widgets/itemviews/.prev_CMakeLists.txt deleted file mode 100644 index 96f03a2e61..0000000000 --- a/examples/widgets/itemviews/.prev_CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -# Generated from itemviews.pro. - -add_subdirectory(addressbook) -add_subdirectory(basicsortfiltermodel) -add_subdirectory(chart) -add_subdirectory(coloreditorfactory) -add_subdirectory(combowidgetmapper) -add_subdirectory(customsortfiltermodel) -add_subdirectory(dirview) -add_subdirectory(editabletreemodel) -add_subdirectory(fetchmore) -add_subdirectory(flattreeview) -add_subdirectory(frozencolumn) -add_subdirectory(interview) -add_subdirectory(pixelator) -add_subdirectory(simpletreemodel) -add_subdirectory(simplewidgetmapper) -add_subdirectory(spinboxdelegate) -add_subdirectory(spreadsheet) -add_subdirectory(stardelegate) -add_subdirectory(storageview) -if(QT_FEATURE_draganddrop) - add_subdirectory(puzzle) -endif() -if(TARGET Qt::Xml) - add_subdirectory(simpledommodel) -endif() diff --git a/examples/widgets/itemviews/pixelator/.prev_CMakeLists.txt b/examples/widgets/itemviews/pixelator/.prev_CMakeLists.txt deleted file mode 100644 index 2beeba0939..0000000000 --- a/examples/widgets/itemviews/pixelator/.prev_CMakeLists.txt +++ /dev/null @@ -1,61 +0,0 @@ -# Generated from pixelator.pro. - -cmake_minimum_required(VERSION 3.14) -project(pixelator LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/itemviews/pixelator") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(pixelator - imagemodel.cpp imagemodel.h - main.cpp - mainwindow.cpp mainwindow.h - pixeldelegate.cpp pixeldelegate.h -) -set_target_properties(pixelator PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(pixelator PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(images_resource_files - "images/qt.png" -) - -qt6_add_resources(pixelator "images" - PREFIX - "/" - FILES - ${images_resource_files} -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(pixelator PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS pixelator - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/itemviews/puzzle/.prev_CMakeLists.txt b/examples/widgets/itemviews/puzzle/.prev_CMakeLists.txt deleted file mode 100644 index b80cb9c29b..0000000000 --- a/examples/widgets/itemviews/puzzle/.prev_CMakeLists.txt +++ /dev/null @@ -1,55 +0,0 @@ -# Generated from puzzle.pro. - -cmake_minimum_required(VERSION 3.14) -project(puzzle LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/itemviews/puzzle") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(puzzle - main.cpp - mainwindow.cpp mainwindow.h - piecesmodel.cpp piecesmodel.h - puzzlewidget.cpp puzzlewidget.h -) -set_target_properties(puzzle PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(puzzle PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(puzzle_resource_files - "example.jpg" -) - -qt6_add_resources(puzzle "puzzle" - PREFIX - "/images" - FILES - ${puzzle_resource_files} -) - -install(TARGETS puzzle - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/itemviews/spreadsheet/.prev_CMakeLists.txt b/examples/widgets/itemviews/spreadsheet/.prev_CMakeLists.txt deleted file mode 100644 index e14931e62f..0000000000 --- a/examples/widgets/itemviews/spreadsheet/.prev_CMakeLists.txt +++ /dev/null @@ -1,62 +0,0 @@ -# Generated from spreadsheet.pro. - -cmake_minimum_required(VERSION 3.14) -project(spreadsheet LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/itemviews/spreadsheet") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(spreadsheet - main.cpp - printview.cpp printview.h - spreadsheet.cpp spreadsheet.h - spreadsheetdelegate.cpp spreadsheetdelegate.h - spreadsheetitem.cpp spreadsheetitem.h -) -set_target_properties(spreadsheet PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(spreadsheet PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(spreadsheet_resource_files - "images/interview.png" -) - -qt6_add_resources(spreadsheet "spreadsheet" - PREFIX - "/" - FILES - ${spreadsheet_resource_files} -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(spreadsheet PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS spreadsheet - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/mainwindows/dockwidgets/.prev_CMakeLists.txt b/examples/widgets/mainwindows/dockwidgets/.prev_CMakeLists.txt deleted file mode 100644 index 2affbef3b9..0000000000 --- a/examples/widgets/mainwindows/dockwidgets/.prev_CMakeLists.txt +++ /dev/null @@ -1,62 +0,0 @@ -# Generated from dockwidgets.pro. - -cmake_minimum_required(VERSION 3.14) -project(dockwidgets LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/dockwidgets") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(dockwidgets - main.cpp - mainwindow.cpp mainwindow.h -) -set_target_properties(dockwidgets PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(dockwidgets PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(dockwidgets_resource_files - "images/new.png" - "images/print.png" - "images/save.png" - "images/undo.png" -) - -qt6_add_resources(dockwidgets "dockwidgets" - PREFIX - "/" - FILES - ${dockwidgets_resource_files} -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(dockwidgets PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS dockwidgets - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/painting/.prev_CMakeLists.txt b/examples/widgets/painting/.prev_CMakeLists.txt deleted file mode 100644 index 2ef5da303a..0000000000 --- a/examples/widgets/painting/.prev_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ -# Generated from painting.pro. - -add_subdirectory(basicdrawing) -add_subdirectory(concentriccircles) -add_subdirectory(affine) -add_subdirectory(composition) -add_subdirectory(deform) -add_subdirectory(gradients) -add_subdirectory(pathstroke) -add_subdirectory(imagecomposition) -add_subdirectory(painterpaths) -add_subdirectory(transformations) -add_subdirectory(fontsampler) diff --git a/examples/widgets/painting/affine/.prev_CMakeLists.txt b/examples/widgets/painting/affine/.prev_CMakeLists.txt deleted file mode 100644 index 4efe5f28a7..0000000000 --- a/examples/widgets/painting/affine/.prev_CMakeLists.txt +++ /dev/null @@ -1,118 +0,0 @@ -# Generated from affine.pro. - -cmake_minimum_required(VERSION 3.14) -project(affine LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/affine") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(affine - ../shared/arthurstyle.cpp ../shared/arthurstyle.h - ../shared/arthurwidgets.cpp ../shared/arthurwidgets.h - ../shared/hoverpoints.cpp ../shared/hoverpoints.h - main.cpp - xform.cpp xform.h -) -set_target_properties(affine PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_include_directories(affine PUBLIC - ../shared -) - -target_link_libraries(affine PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(shared_resource_files - "../shared/images/button_normal_cap_left.png" - "../shared/images/button_normal_cap_right.png" - "../shared/images/button_normal_stretch.png" - "../shared/images/button_pressed_cap_left.png" - "../shared/images/button_pressed_cap_right.png" - "../shared/images/button_pressed_stretch.png" - "../shared/images/frame_bottom.png" - "../shared/images/frame_bottomleft.png" - "../shared/images/frame_bottomright.png" - "../shared/images/frame_left.png" - "../shared/images/frame_right.png" - "../shared/images/frame_top.png" - "../shared/images/frame_topleft.png" - "../shared/images/frame_topright.png" - "../shared/images/groupframe_bottom_left.png" - "../shared/images/groupframe_bottom_right.png" - "../shared/images/groupframe_bottom_stretch.png" - "../shared/images/groupframe_left_stretch.png" - "../shared/images/groupframe_right_stretch.png" - "../shared/images/groupframe_top_stretch.png" - "../shared/images/groupframe_topleft.png" - "../shared/images/groupframe_topright.png" - "../shared/images/line_dash_dot.png" - "../shared/images/line_dash_dot_dot.png" - "../shared/images/line_dashed.png" - "../shared/images/line_dotted.png" - "../shared/images/line_solid.png" - "../shared/images/radiobutton-on.png" - "../shared/images/radiobutton_off.png" - "../shared/images/radiobutton_on.png" - "../shared/images/slider_bar.png" - "../shared/images/slider_thumb_on.png" - "../shared/images/title_cap_left.png" - "../shared/images/title_cap_right.png" - "../shared/images/title_stretch.png" -) - -qt6_add_resources(affine "shared" - PREFIX - "/res" - BASE - "../shared" - FILES - ${shared_resource_files} -) -set(affine_resource_files - "bg1.jpg" - "xform.cpp" - "xform.html" -) - -qt6_add_resources(affine "affine" - PREFIX - "/res/affine" - FILES - ${affine_resource_files} -) - -if(QT_FEATURE_opengl) - target_sources(affine PUBLIC - ../shared/fbopaintdevice.cpp ../shared/fbopaintdevice.h - ) - - target_link_libraries(affine PUBLIC - Qt::OpenGL - ) -endif() - -install(TARGETS affine - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/painting/composition/.prev_CMakeLists.txt b/examples/widgets/painting/composition/.prev_CMakeLists.txt deleted file mode 100644 index 7cf2aab45f..0000000000 --- a/examples/widgets/painting/composition/.prev_CMakeLists.txt +++ /dev/null @@ -1,119 +0,0 @@ -# Generated from composition.pro. - -cmake_minimum_required(VERSION 3.14) -project(composition LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/composition") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(composition - ../shared/arthurstyle.cpp ../shared/arthurstyle.h - ../shared/arthurwidgets.cpp ../shared/arthurwidgets.h - ../shared/hoverpoints.cpp ../shared/hoverpoints.h - composition.cpp composition.h - main.cpp -) -set_target_properties(composition PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_include_directories(composition PUBLIC - ../shared -) - -target_link_libraries(composition PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(shared_resource_files - "../shared/images/button_normal_cap_left.png" - "../shared/images/button_normal_cap_right.png" - "../shared/images/button_normal_stretch.png" - "../shared/images/button_pressed_cap_left.png" - "../shared/images/button_pressed_cap_right.png" - "../shared/images/button_pressed_stretch.png" - "../shared/images/frame_bottom.png" - "../shared/images/frame_bottomleft.png" - "../shared/images/frame_bottomright.png" - "../shared/images/frame_left.png" - "../shared/images/frame_right.png" - "../shared/images/frame_top.png" - "../shared/images/frame_topleft.png" - "../shared/images/frame_topright.png" - "../shared/images/groupframe_bottom_left.png" - "../shared/images/groupframe_bottom_right.png" - "../shared/images/groupframe_bottom_stretch.png" - "../shared/images/groupframe_left_stretch.png" - "../shared/images/groupframe_right_stretch.png" - "../shared/images/groupframe_top_stretch.png" - "../shared/images/groupframe_topleft.png" - "../shared/images/groupframe_topright.png" - "../shared/images/line_dash_dot.png" - "../shared/images/line_dash_dot_dot.png" - "../shared/images/line_dashed.png" - "../shared/images/line_dotted.png" - "../shared/images/line_solid.png" - "../shared/images/radiobutton-on.png" - "../shared/images/radiobutton_off.png" - "../shared/images/radiobutton_on.png" - "../shared/images/slider_bar.png" - "../shared/images/slider_thumb_on.png" - "../shared/images/title_cap_left.png" - "../shared/images/title_cap_right.png" - "../shared/images/title_stretch.png" -) - -qt6_add_resources(composition "shared" - PREFIX - "/res" - BASE - "../shared" - FILES - ${shared_resource_files} -) -set(composition_resource_files - "composition.cpp" - "composition.html" - "flower.jpg" - "flower_alpha.jpg" -) - -qt6_add_resources(composition "composition" - PREFIX - "/res/composition" - FILES - ${composition_resource_files} -) - -if(QT_FEATURE_opengl) - target_sources(composition PUBLIC - ../shared/fbopaintdevice.cpp ../shared/fbopaintdevice.h - ) - - target_link_libraries(composition PUBLIC - Qt::OpenGL - ) -endif() - -install(TARGETS composition - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/painting/deform/.prev_CMakeLists.txt b/examples/widgets/painting/deform/.prev_CMakeLists.txt deleted file mode 100644 index c99df00a5a..0000000000 --- a/examples/widgets/painting/deform/.prev_CMakeLists.txt +++ /dev/null @@ -1,117 +0,0 @@ -# Generated from deform.pro. - -cmake_minimum_required(VERSION 3.14) -project(deform LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/deform") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(deform - ../shared/arthurstyle.cpp ../shared/arthurstyle.h - ../shared/arthurwidgets.cpp ../shared/arthurwidgets.h - ../shared/hoverpoints.cpp ../shared/hoverpoints.h - main.cpp - pathdeform.cpp pathdeform.h -) -set_target_properties(deform PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_include_directories(deform PUBLIC - ../shared -) - -target_link_libraries(deform PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(shared_resource_files - "../shared/images/button_normal_cap_left.png" - "../shared/images/button_normal_cap_right.png" - "../shared/images/button_normal_stretch.png" - "../shared/images/button_pressed_cap_left.png" - "../shared/images/button_pressed_cap_right.png" - "../shared/images/button_pressed_stretch.png" - "../shared/images/frame_bottom.png" - "../shared/images/frame_bottomleft.png" - "../shared/images/frame_bottomright.png" - "../shared/images/frame_left.png" - "../shared/images/frame_right.png" - "../shared/images/frame_top.png" - "../shared/images/frame_topleft.png" - "../shared/images/frame_topright.png" - "../shared/images/groupframe_bottom_left.png" - "../shared/images/groupframe_bottom_right.png" - "../shared/images/groupframe_bottom_stretch.png" - "../shared/images/groupframe_left_stretch.png" - "../shared/images/groupframe_right_stretch.png" - "../shared/images/groupframe_top_stretch.png" - "../shared/images/groupframe_topleft.png" - "../shared/images/groupframe_topright.png" - "../shared/images/line_dash_dot.png" - "../shared/images/line_dash_dot_dot.png" - "../shared/images/line_dashed.png" - "../shared/images/line_dotted.png" - "../shared/images/line_solid.png" - "../shared/images/radiobutton-on.png" - "../shared/images/radiobutton_off.png" - "../shared/images/radiobutton_on.png" - "../shared/images/slider_bar.png" - "../shared/images/slider_thumb_on.png" - "../shared/images/title_cap_left.png" - "../shared/images/title_cap_right.png" - "../shared/images/title_stretch.png" -) - -qt6_add_resources(deform "shared" - PREFIX - "/res" - BASE - "../shared" - FILES - ${shared_resource_files} -) -set(deform_resource_files - "pathdeform.cpp" - "pathdeform.html" -) - -qt6_add_resources(deform "deform" - PREFIX - "/res/deform" - FILES - ${deform_resource_files} -) - -if(QT_FEATURE_opengl) - target_sources(deform PUBLIC - ../shared/fbopaintdevice.cpp ../shared/fbopaintdevice.h - ) - - target_link_libraries(deform PUBLIC - Qt::OpenGL - ) -endif() - -install(TARGETS deform - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/painting/gradients/.prev_CMakeLists.txt b/examples/widgets/painting/gradients/.prev_CMakeLists.txt deleted file mode 100644 index 1260b18089..0000000000 --- a/examples/widgets/painting/gradients/.prev_CMakeLists.txt +++ /dev/null @@ -1,117 +0,0 @@ -# Generated from gradients.pro. - -cmake_minimum_required(VERSION 3.14) -project(gradients LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/gradients") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(gradients - ../shared/arthurstyle.cpp ../shared/arthurstyle.h - ../shared/arthurwidgets.cpp ../shared/arthurwidgets.h - ../shared/hoverpoints.cpp ../shared/hoverpoints.h - gradients.cpp gradients.h - main.cpp -) -set_target_properties(gradients PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_include_directories(gradients PUBLIC - ../shared -) - -target_link_libraries(gradients PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(shared_resource_files - "../shared/images/button_normal_cap_left.png" - "../shared/images/button_normal_cap_right.png" - "../shared/images/button_normal_stretch.png" - "../shared/images/button_pressed_cap_left.png" - "../shared/images/button_pressed_cap_right.png" - "../shared/images/button_pressed_stretch.png" - "../shared/images/frame_bottom.png" - "../shared/images/frame_bottomleft.png" - "../shared/images/frame_bottomright.png" - "../shared/images/frame_left.png" - "../shared/images/frame_right.png" - "../shared/images/frame_top.png" - "../shared/images/frame_topleft.png" - "../shared/images/frame_topright.png" - "../shared/images/groupframe_bottom_left.png" - "../shared/images/groupframe_bottom_right.png" - "../shared/images/groupframe_bottom_stretch.png" - "../shared/images/groupframe_left_stretch.png" - "../shared/images/groupframe_right_stretch.png" - "../shared/images/groupframe_top_stretch.png" - "../shared/images/groupframe_topleft.png" - "../shared/images/groupframe_topright.png" - "../shared/images/line_dash_dot.png" - "../shared/images/line_dash_dot_dot.png" - "../shared/images/line_dashed.png" - "../shared/images/line_dotted.png" - "../shared/images/line_solid.png" - "../shared/images/radiobutton-on.png" - "../shared/images/radiobutton_off.png" - "../shared/images/radiobutton_on.png" - "../shared/images/slider_bar.png" - "../shared/images/slider_thumb_on.png" - "../shared/images/title_cap_left.png" - "../shared/images/title_cap_right.png" - "../shared/images/title_stretch.png" -) - -qt6_add_resources(gradients "shared" - PREFIX - "/res" - BASE - "../shared" - FILES - ${shared_resource_files} -) -set(gradients_resource_files - "gradients.cpp" - "gradients.html" -) - -qt6_add_resources(gradients "gradients" - PREFIX - "/res/gradients" - FILES - ${gradients_resource_files} -) - -if(QT_FEATURE_opengl) - target_sources(gradients PUBLIC - ../shared/fbopaintdevice.cpp ../shared/fbopaintdevice.h - ) - - target_link_libraries(gradients PUBLIC - Qt::OpenGL - ) -endif() - -install(TARGETS gradients - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/painting/pathstroke/.prev_CMakeLists.txt b/examples/widgets/painting/pathstroke/.prev_CMakeLists.txt deleted file mode 100644 index e2c1d5f793..0000000000 --- a/examples/widgets/painting/pathstroke/.prev_CMakeLists.txt +++ /dev/null @@ -1,117 +0,0 @@ -# Generated from pathstroke.pro. - -cmake_minimum_required(VERSION 3.14) -project(pathstroke LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/painting/pathstroke") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(pathstroke - ../shared/arthurstyle.cpp ../shared/arthurstyle.h - ../shared/arthurwidgets.cpp ../shared/arthurwidgets.h - ../shared/hoverpoints.cpp ../shared/hoverpoints.h - main.cpp - pathstroke.cpp pathstroke.h -) -set_target_properties(pathstroke PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_include_directories(pathstroke PUBLIC - ../shared -) - -target_link_libraries(pathstroke PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(shared_resource_files - "../shared/images/button_normal_cap_left.png" - "../shared/images/button_normal_cap_right.png" - "../shared/images/button_normal_stretch.png" - "../shared/images/button_pressed_cap_left.png" - "../shared/images/button_pressed_cap_right.png" - "../shared/images/button_pressed_stretch.png" - "../shared/images/frame_bottom.png" - "../shared/images/frame_bottomleft.png" - "../shared/images/frame_bottomright.png" - "../shared/images/frame_left.png" - "../shared/images/frame_right.png" - "../shared/images/frame_top.png" - "../shared/images/frame_topleft.png" - "../shared/images/frame_topright.png" - "../shared/images/groupframe_bottom_left.png" - "../shared/images/groupframe_bottom_right.png" - "../shared/images/groupframe_bottom_stretch.png" - "../shared/images/groupframe_left_stretch.png" - "../shared/images/groupframe_right_stretch.png" - "../shared/images/groupframe_top_stretch.png" - "../shared/images/groupframe_topleft.png" - "../shared/images/groupframe_topright.png" - "../shared/images/line_dash_dot.png" - "../shared/images/line_dash_dot_dot.png" - "../shared/images/line_dashed.png" - "../shared/images/line_dotted.png" - "../shared/images/line_solid.png" - "../shared/images/radiobutton-on.png" - "../shared/images/radiobutton_off.png" - "../shared/images/radiobutton_on.png" - "../shared/images/slider_bar.png" - "../shared/images/slider_thumb_on.png" - "../shared/images/title_cap_left.png" - "../shared/images/title_cap_right.png" - "../shared/images/title_stretch.png" -) - -qt6_add_resources(pathstroke "shared" - PREFIX - "/res" - BASE - "../shared" - FILES - ${shared_resource_files} -) -set(pathstroke_resource_files - "pathstroke.cpp" - "pathstroke.html" -) - -qt6_add_resources(pathstroke "pathstroke" - PREFIX - "/res/pathstroke" - FILES - ${pathstroke_resource_files} -) - -if(QT_FEATURE_opengl) - target_sources(pathstroke PUBLIC - ../shared/fbopaintdevice.cpp ../shared/fbopaintdevice.h - ) - - target_link_libraries(pathstroke PUBLIC - Qt::OpenGL - ) -endif() - -install(TARGETS pathstroke - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/richtext/textedit/.prev_CMakeLists.txt b/examples/widgets/richtext/textedit/.prev_CMakeLists.txt deleted file mode 100644 index c32496a98b..0000000000 --- a/examples/widgets/richtext/textedit/.prev_CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ -# Generated from textedit.pro. - -cmake_minimum_required(VERSION 3.14) -project(textedit LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/richtext/textedit") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(textedit - main.cpp - textedit.cpp textedit.h -) -set_target_properties(textedit PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(textedit PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(textedit_resource_files - "example.html" - "images/logo32.png" - "images/mac/checkbox-checked.png" - "images/mac/checkbox.png" - "images/mac/editcopy.png" - "images/mac/editcut.png" - "images/mac/editpaste.png" - "images/mac/editredo.png" - "images/mac/editundo.png" - "images/mac/exportpdf.png" - "images/mac/filenew.png" - "images/mac/fileopen.png" - "images/mac/fileprint.png" - "images/mac/filesave.png" - "images/mac/format-indent-less.png" - "images/mac/format-indent-more.png" - "images/mac/textbold.png" - "images/mac/textcenter.png" - "images/mac/textitalic.png" - "images/mac/textjustify.png" - "images/mac/textleft.png" - "images/mac/textright.png" - "images/mac/textunder.png" - "images/mac/textundercolor.png" - "images/mac/zoomin.png" - "images/mac/zoomout.png" - "images/win/checkbox-checked.png" - "images/win/checkbox.png" - "images/win/editcopy.png" - "images/win/editcut.png" - "images/win/editpaste.png" - "images/win/editredo.png" - "images/win/editundo.png" - "images/win/exportpdf.png" - "images/win/filenew.png" - "images/win/fileopen.png" - "images/win/fileprint.png" - "images/win/filesave.png" - "images/win/format-indent-less.png" - "images/win/format-indent-more.png" - "images/win/textbold.png" - "images/win/textcenter.png" - "images/win/textitalic.png" - "images/win/textjustify.png" - "images/win/textleft.png" - "images/win/textright.png" - "images/win/textunder.png" - "images/win/textundercolor.png" - "images/win/zoomin.png" - "images/win/zoomout.png" -) - -qt6_add_resources(textedit "textedit" - PREFIX - "/" - FILES - ${textedit_resource_files} -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(textedit PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS textedit - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/tools/.prev_CMakeLists.txt b/examples/widgets/tools/.prev_CMakeLists.txt deleted file mode 100644 index 29e7f8f9e8..0000000000 --- a/examples/widgets/tools/.prev_CMakeLists.txt +++ /dev/null @@ -1,17 +0,0 @@ -# Generated from tools.pro. - -add_subdirectory(completer) -add_subdirectory(customcompleter) -add_subdirectory(regularexpression) -add_subdirectory(settingseditor) -add_subdirectory(styleplugin) -add_subdirectory(treemodelcompleter) -add_subdirectory(undo) -add_subdirectory(undoframework) -if(QT_FEATURE_library) - add_subdirectory(echoplugin) - add_subdirectory(plugandpaint) -endif() -if(QT_FEATURE_translation) - add_subdirectory(i18n) -endif() diff --git a/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt deleted file mode 100644 index 1262ce5452..0000000000 --- a/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt +++ /dev/null @@ -1,41 +0,0 @@ -# Generated from echowindow.pro. - -cmake_minimum_required(VERSION 3.14) -project(echoplugin LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/tools/echoplugin") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(echoplugin - echointerface.h - echowindow.cpp echowindow.h - main.cpp -) -set_target_properties(echoplugin PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(echoplugin PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -install(TARGETS echoplugin - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/tools/echoplugin/plugin/.prev_CMakeLists.txt b/examples/widgets/tools/echoplugin/plugin/.prev_CMakeLists.txt deleted file mode 100644 index 9f3a93b3bd..0000000000 --- a/examples/widgets/tools/echoplugin/plugin/.prev_CMakeLists.txt +++ /dev/null @@ -1,35 +0,0 @@ -# Generated from plugin.pro. - -cmake_minimum_required(VERSION 3.14) -project(echoplugin LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/widgets/tools/echoplugin/plugins") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -add_library(echoplugin MODULE - echoplugin.cpp echoplugin.h -) -target_include_directories(echoplugin PUBLIC - ../echowindow -) - -target_link_libraries(echoplugin PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -install(TARGETS echoplugin - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/tools/plugandpaint/app/.prev_CMakeLists.txt b/examples/widgets/tools/plugandpaint/app/.prev_CMakeLists.txt deleted file mode 100644 index feaac7ad8f..0000000000 --- a/examples/widgets/tools/plugandpaint/app/.prev_CMakeLists.txt +++ /dev/null @@ -1,74 +0,0 @@ -# Generated from app.pro. - -cmake_minimum_required(VERSION 3.14) -project(plugandpaint LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/tools/plugandpaint") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(plugandpaint - interfaces.h - main.cpp - mainwindow.cpp mainwindow.h - paintarea.cpp paintarea.h - plugindialog.cpp plugindialog.h -) -set_target_properties(plugandpaint PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(plugandpaint PUBLIC - # Remove: L../plugins - Qt::Core - Qt::Gui - Qt::Widgets -) - -if(macx-xcode) - target_link_libraries(plugandpaint PUBLIC - ( - ) - pnp_basictools$ - ) -endif() - -if(NOT macx-xcode) - target_link_libraries(plugandpaint PUBLIC - pnp_basictools - ) -endif() - -if(((NOT (macx-xcode)) AND (( NOT debug_and_release OR build_pass ) AND CONFIG(debug,debug OR release))) AND (APPLE)) - target_link_libraries(plugandpaint PUBLIC - (LIBS, 0) - (LIBS, 1) - _debug - ) -endif() - -if(((NOT (macx-xcode)) AND (( NOT debug_and_release OR build_pass ) AND CONFIG(debug,debug OR release))) AND (WIN32)) - target_link_libraries(plugandpaint PUBLIC - (LIBS, 0) - (LIBS, 1) - d - ) -endif() - -install(TARGETS plugandpaint - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/tools/plugandpaint/plugins/basictools/.prev_CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/basictools/.prev_CMakeLists.txt deleted file mode 100644 index 76474c282b..0000000000 --- a/examples/widgets/tools/plugandpaint/plugins/basictools/.prev_CMakeLists.txt +++ /dev/null @@ -1,36 +0,0 @@ -# Generated from basictools.pro. - -cmake_minimum_required(VERSION 3.14) -project(pnp_basictools LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/widgets/tools/plugandpaint/plugins") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt6_add_plugin(pnp_basictools STATIC) -target_sources(pnp_basictools PRIVATE - basictoolsplugin.cpp basictoolsplugin.h -) -target_include_directories(pnp_basictools PUBLIC - ../../app -) - -target_link_libraries(pnp_basictools PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -install(TARGETS pnp_basictools - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/tools/plugandpaint/plugins/extrafilters/.prev_CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/extrafilters/.prev_CMakeLists.txt deleted file mode 100644 index 57f37843b8..0000000000 --- a/examples/widgets/tools/plugandpaint/plugins/extrafilters/.prev_CMakeLists.txt +++ /dev/null @@ -1,36 +0,0 @@ -# Generated from extrafilters.pro. - -cmake_minimum_required(VERSION 3.14) -project(pnp_extrafilters LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/widgets/tools/plugandpaint/plugins") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_plugin(pnp_extrafilters) -target_sources(pnp_extrafilters PRIVATE - extrafiltersplugin.cpp extrafiltersplugin.h -) -target_include_directories(pnp_extrafilters PUBLIC - ../../app -) - -target_link_libraries(pnp_extrafilters PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -install(TARGETS pnp_extrafilters - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/tools/styleplugin/.prev_CMakeLists.txt b/examples/widgets/tools/styleplugin/.prev_CMakeLists.txt deleted file mode 100644 index 630c3703f8..0000000000 --- a/examples/widgets/tools/styleplugin/.prev_CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -# Generated from styleplugin.pro. - -add_subdirectory(stylewindow) -add_subdirectory(plugin) diff --git a/examples/widgets/tools/styleplugin/plugin/.prev_CMakeLists.txt b/examples/widgets/tools/styleplugin/plugin/.prev_CMakeLists.txt deleted file mode 100644 index c1be706fde..0000000000 --- a/examples/widgets/tools/styleplugin/plugin/.prev_CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# Generated from plugin.pro. - -cmake_minimum_required(VERSION 3.14) -project(simplestyleplugin LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/widgets/tools/styleplugin/styles") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -add_library(simplestyleplugin MODULE - simplestyle.cpp simplestyle.h - simplestyleplugin.cpp simplestyleplugin.h -) -target_link_libraries(simplestyleplugin PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -install(TARGETS simplestyleplugin - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/touch/fingerpaint/.prev_CMakeLists.txt b/examples/widgets/touch/fingerpaint/.prev_CMakeLists.txt deleted file mode 100644 index 3077bf5bc6..0000000000 --- a/examples/widgets/touch/fingerpaint/.prev_CMakeLists.txt +++ /dev/null @@ -1,47 +0,0 @@ -# Generated from fingerpaint.pro. - -cmake_minimum_required(VERSION 3.14) -project(fingerpaint LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/touch/fingerpaint") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(fingerpaint - main.cpp - mainwindow.cpp mainwindow.h - scribblearea.cpp scribblearea.h -) -set_target_properties(fingerpaint PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(fingerpaint PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(fingerpaint PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS fingerpaint - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/tutorials/notepad/.prev_CMakeLists.txt b/examples/widgets/tutorials/notepad/.prev_CMakeLists.txt deleted file mode 100644 index 119ca9d6cf..0000000000 --- a/examples/widgets/tutorials/notepad/.prev_CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -# Generated from notepad.pro. - -cmake_minimum_required(VERSION 3.14) -project(notepad LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/tutorials/notepad") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(notepad - main.cpp - notepad.cpp notepad.h notepad.ui -) -set_target_properties(notepad PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(notepad PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - - -# Resources: -set(notepad_resource_files - "images/bold.png" - "images/copy.png" - "images/create.png" - "images/cut.png" - "images/edit_redo.png" - "images/edit_undo.png" - "images/exit.png" - "images/font.png" - "images/info.png" - "images/italic.png" - "images/new.png" - "images/open.png" - "images/paste.png" - "images/pencil.png" - "images/print.png" - "images/save.png" - "images/save_as.png" - "images/underline.png" -) - -qt6_add_resources(notepad "notepad" - PREFIX - "/" - FILES - ${notepad_resource_files} -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(notepad PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS notepad - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/widgets/icons/.prev_CMakeLists.txt b/examples/widgets/widgets/icons/.prev_CMakeLists.txt deleted file mode 100644 index ff25b3eaef..0000000000 --- a/examples/widgets/widgets/icons/.prev_CMakeLists.txt +++ /dev/null @@ -1,47 +0,0 @@ -# Generated from icons.pro. - -cmake_minimum_required(VERSION 3.14) -project(icons LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/widgets/icons") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(icons - iconpreviewarea.cpp iconpreviewarea.h - iconsizespinbox.cpp iconsizespinbox.h - imagedelegate.cpp imagedelegate.h - main.cpp - mainwindow.cpp mainwindow.h -) -set_target_properties(icons PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_compile_definitions(icons PUBLIC - SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" -) - -target_link_libraries(icons PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -install(TARGETS icons - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/widgets/imageviewer/.prev_CMakeLists.txt b/examples/widgets/widgets/imageviewer/.prev_CMakeLists.txt deleted file mode 100644 index 9603f8dcbd..0000000000 --- a/examples/widgets/widgets/imageviewer/.prev_CMakeLists.txt +++ /dev/null @@ -1,46 +0,0 @@ -# Generated from imageviewer.pro. - -cmake_minimum_required(VERSION 3.14) -project(imageviewer LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/widgets/imageviewer") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(imageviewer - imageviewer.cpp imageviewer.h - main.cpp -) -set_target_properties(imageviewer PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(imageviewer PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(imageviewer PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS imageviewer - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/widgets/widgets/scribble/.prev_CMakeLists.txt b/examples/widgets/widgets/scribble/.prev_CMakeLists.txt deleted file mode 100644 index 2ce40dc8cb..0000000000 --- a/examples/widgets/widgets/scribble/.prev_CMakeLists.txt +++ /dev/null @@ -1,47 +0,0 @@ -# Generated from scribble.pro. - -cmake_minimum_required(VERSION 3.14) -project(scribble LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/widgets/scribble") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS Widgets) - -qt_add_executable(scribble - main.cpp - mainwindow.cpp mainwindow.h - scribblearea.cpp scribblearea.h -) -set_target_properties(scribble PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_link_libraries(scribble PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets -) - -if(TARGET Qt::PrintSupport) - target_link_libraries(scribble PUBLIC - Qt::PrintSupport - ) -endif() - -install(TARGETS scribble - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/xml/htmlinfo/.prev_CMakeLists.txt b/examples/xml/htmlinfo/.prev_CMakeLists.txt deleted file mode 100644 index 77fa423eff..0000000000 --- a/examples/xml/htmlinfo/.prev_CMakeLists.txt +++ /dev/null @@ -1,44 +0,0 @@ -# Generated from htmlinfo.pro. - -cmake_minimum_required(VERSION 3.14) -project(htmlinfo LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(INSTALL_EXAMPLEDIR "examples/xml/htmlinfo") - -find_package(Qt6 COMPONENTS Core) - -add_executable(htmlinfo - main.cpp -) -target_link_libraries(htmlinfo PUBLIC - Qt::Core -) - - -# Resources: -set(resources_resource_files - "apache_org.html" - "simpleexample.html" - "trolltech_com.html" - "w3c_org.html" - "youtube_com.html" -) - -qt6_add_resources(htmlinfo "resources" - PREFIX - "/" - FILES - ${resources_resource_files} -) - -install(TARGETS htmlinfo - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) diff --git a/examples/xml/xmlstreamlint/.prev_CMakeLists.txt b/examples/xml/xmlstreamlint/.prev_CMakeLists.txt deleted file mode 100644 index 23d62e7b1c..0000000000 --- a/examples/xml/xmlstreamlint/.prev_CMakeLists.txt +++ /dev/null @@ -1,35 +0,0 @@ -# Generated from xmlstreamlint.pro. - -cmake_minimum_required(VERSION 3.14) -project(xmlstreamlint LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/xmlstreamlint") - -find_package(Qt6 COMPONENTS Core) - -qt_add_executable(xmlstreamlint - main.cpp -) -set_target_properties(xmlstreamlint PROPERTIES - WIN32_EXECUTABLE FALSE - MACOSX_BUNDLE FALSE -) -target_link_libraries(xmlstreamlint PUBLIC - Qt::Core -) - -install(TARGETS xmlstreamlint - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) -- cgit v1.2.3