diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-12-03 15:50:59 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2021-12-06 11:23:26 +0000 |
commit | 251e84800793d3f74d7d8e7543eb5e9dba3834ad (patch) | |
tree | 3aae0f79ff9ff6d450d95f797c38a324cc7c0ce6 /examples/widgets/tools | |
parent | f25761c617774e5915e0c2b0dda4459cddf1aecd (diff) | |
download | qtbase-251e84800793d3f74d7d8e7543eb5e9dba3834ad.tar.gz |
Remove .prev_CMakeLists.txt
These are left-overs from the initial qmake2cmake conversion.
Pick-to: 6.2
Change-Id: Ie15c9ff022ea4566d10c1ba74599de9af83d29a7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/tools')
8 files changed, 0 insertions, 275 deletions
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}" -) |