diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-01-15 13:37:58 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-01-15 15:34:22 +0100 |
commit | 78ab4b8d8b75fed240cded1a3f182048e56a8823 (patch) | |
tree | 96cdc6b049a1f8330648134eecfe74b75be28350 /tools | |
parent | bd017c18ab1faa6011db12afadade74172e03de7 (diff) |
Remove the qmake project files
Remove all qmake project files, except for examples which are used to
test that qmake continues to work.
Change-Id: Ic4abb72dc2dcd75df7a797c56056b6b3c5fe62ac
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qml/qml.pro | 27 | ||||
-rw-r--r-- | tools/qmlcachegen/qmlcachegen.pro | 39 | ||||
-rw-r--r-- | tools/qmleasing/qmleasing.pro | 22 | ||||
-rw-r--r-- | tools/qmlformat/qmlformat.pro | 17 | ||||
-rw-r--r-- | tools/qmlimportscanner/qmlimportscanner.pro | 57 | ||||
-rw-r--r-- | tools/qmljs/qmljs.pro | 10 | ||||
-rw-r--r-- | tools/qmllint/qmllint.pro | 18 | ||||
-rw-r--r-- | tools/qmlplugindump/qmlplugindump.pro | 32 | ||||
-rw-r--r-- | tools/qmlpreview/qmlpreview.pro | 15 | ||||
-rw-r--r-- | tools/qmlprofiler/qmlprofiler.pro | 19 | ||||
-rw-r--r-- | tools/qmlscene/qmlscene.pro | 12 | ||||
-rw-r--r-- | tools/qmltestrunner/qmltestrunner.pro | 8 | ||||
-rw-r--r-- | tools/qmltime/qmltime.pro | 15 | ||||
-rw-r--r-- | tools/tools.pro | 56 |
14 files changed, 0 insertions, 347 deletions
diff --git a/tools/qml/qml.pro b/tools/qml/qml.pro deleted file mode 100644 index 83e2e1bf80..0000000000 --- a/tools/qml/qml.pro +++ /dev/null @@ -1,27 +0,0 @@ -QT = qml-private core-private -qtHaveModule(gui): QT += gui -qtHaveModule(widgets): QT += widgets - -HEADERS += conf.h -SOURCES += main.cpp -RESOURCES += qml.qrc -CONFIG += qmltypes - -QML_IMPORT_NAME = QmlRuntime.Config -QML_IMPORT_VERSION = 1.0 - -QMAKE_TARGET_DESCRIPTION = QML Runtime - -ICON = resources/qml-64.png -win32 { - RC_ICONS = resources/qml.ico -} -mac { - OTHER_FILES += resources/Info.plist - QMAKE_INFO_PLIST = resources/Info.plist - ICON = resources/qml.icns -} - -qtConfig(qml-debug): DEFINES += QT_QML_DEBUG_NO_WARNING - -load(qt_tool) diff --git a/tools/qmlcachegen/qmlcachegen.pro b/tools/qmlcachegen/qmlcachegen.pro deleted file mode 100644 index 62846ddd1c..0000000000 --- a/tools/qmlcachegen/qmlcachegen.pro +++ /dev/null @@ -1,39 +0,0 @@ -option(host_build) - -QT = qmldevtools-private qmlcompiler-private -DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII - -SOURCES = \ - qmlcachegen.cpp - -TARGET = qmlcachegen - -build_integration.files = qmlcache.prf qtquickcompiler.prf -build_integration.path = $$[QT_HOST_DATA]/mkspecs/features -prefix_build: INSTALLS += build_integration -else: COPIES += build_integration - -load(cmake_functions) - -CMAKE_BIN_DIR = $$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX]) -contains(CMAKE_BIN_DIR, "^\\.\\./.*") { - CMAKE_BIN_DIR = $$[QT_HOST_BINS]/ - CMAKE_BIN_DIR_IS_ABSOLUTE = True -} - -load(qt_build_paths) - -equals(QMAKE_HOST.os, Windows): CMAKE_BIN_SUFFIX = ".exe" -cmake_config_file.input = $$PWD/Qt6QuickCompilerConfig.cmake.in -cmake_config_file.output = $$MODULE_BASE_OUTDIR/lib/cmake/Qt6QuickCompiler/Qt6QuickCompilerConfig.cmake -QMAKE_SUBSTITUTES += cmake_config_file - -cmake_build_integration.files = $$cmake_config_file.output -cmake_build_integration.path = $$[QT_INSTALL_LIBS]/cmake/Qt6QuickCompiler -prefix_build: INSTALLS += cmake_build_integration -else: COPIES += cmake_build_integration - -QMAKE_TARGET_DESCRIPTION = QML Cache Generator - -load(qt_tool) - diff --git a/tools/qmleasing/qmleasing.pro b/tools/qmleasing/qmleasing.pro deleted file mode 100644 index 4267ecc5ad..0000000000 --- a/tools/qmleasing/qmleasing.pro +++ /dev/null @@ -1,22 +0,0 @@ -QT += qml quick widgets - -SOURCES += main.cpp \ - splineeditor.cpp \ - mainwindow.cpp \ - segmentproperties.cpp - -RESOURCES = $$PWD/resources.qrc - -HEADERS += \ - splineeditor.h \ - mainwindow.h \ - segmentproperties.h - -FORMS += \ - properties.ui \ - pane.ui \ - import.ui - -QMAKE_TARGET_DESCRIPTION = QML Easing Curve Editor - -load(qt_app) diff --git a/tools/qmlformat/qmlformat.pro b/tools/qmlformat/qmlformat.pro deleted file mode 100644 index c8e74a4b55..0000000000 --- a/tools/qmlformat/qmlformat.pro +++ /dev/null @@ -1,17 +0,0 @@ -option(host_build) - -QT = core qmldevtools-private - -SOURCES += main.cpp \ - commentastvisitor.cpp \ - dumpastvisitor.cpp \ - restructureastvisitor.cpp - -QMAKE_TARGET_DESCRIPTION = QML Formatter - -HEADERS += \ - commentastvisitor.h \ - dumpastvisitor.h \ - restructureastvisitor.h - -load(qt_tool) diff --git a/tools/qmlimportscanner/qmlimportscanner.pro b/tools/qmlimportscanner/qmlimportscanner.pro deleted file mode 100644 index 67f28737e0..0000000000 --- a/tools/qmlimportscanner/qmlimportscanner.pro +++ /dev/null @@ -1,57 +0,0 @@ -option(host_build) - -QT = core qmldevtools-private qmlcompiler-private -DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII - -SOURCES += \ - main.cpp - -load(cmake_functions) - -CMAKE_BIN_DIR = $$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX]) -contains(CMAKE_BIN_DIR, "^\\.\\./.*") { - CMAKE_BIN_DIR = $$[QT_HOST_BINS]/ - CMAKE_BIN_DIR_IS_ABSOLUTE = True -} - -CMAKE_QML_DIR = $$cmakeRelativePath($$[QT_INSTALL_QML], $$[QT_INSTALL_PREFIX]) -contains(CMAKE_QML_DIR, "^\\.\\./.*") { - CMAKE_QML_DIR = $$[QT_INSTALL_QML]/ - CMAKE_QML_DIR_IS_ABSOLUTE = True -} -load(qt_build_paths) - -static|staticlib:CMAKE_STATIC_TYPE = true - -# Compute the platform target suffix. -CMAKE_QML_PLUGIN_SUFFIX_RELEASE = -win32: CMAKE_QML_PLUGIN_SUFFIX_DEBUG = d -else:darwin: CMAKE_QML_PLUGIN_SUFFIX_DEBUG = _debug -else: CMAKE_QML_PLUGIN_SUFFIX_DEBUG = - -# Find out which configurations should be handled in the generated Config.cmake file. -CMAKE_DEBUG_TYPE = -CMAKE_RELEASE_TYPE = -if(qtConfig(debug_and_release)|contains(QT_CONFIG, debug, debug|release)): CMAKE_DEBUG_TYPE = debug -if(qtConfig(debug_and_release)|contains(QT_CONFIG, release, debug|release)): CMAKE_RELEASE_TYPE = release - -qtConfig(debug_and_release) { - CMAKE_DEBUG_AND_RELEASE = TRUE -} else { - CMAKE_DEBUG_AND_RELEASE = FALSE -} - -# The qml import scanner CMake files are now only created by the Qt 6 CMake build. -#equals(QMAKE_HOST.os, Windows): CMAKE_BIN_SUFFIX = ".exe" -#cmake_config_file.input = $$PWD/Qt5QmlImportScannerConfig.cmake.in -#cmake_config_file.output = $$MODULE_BASE_OUTDIR/lib/cmake/Qt5QmlImportScanner/Qt5QmlImportScannerConfig.cmake -#QMAKE_SUBSTITUTES += cmake_config_file - -#cmake_build_integration.files = $$cmake_config_file.output $$PWD/Qt5QmlImportScannerTemplate.cpp.in -#cmake_build_integration.path = $$[QT_INSTALL_LIBS]/cmake/Qt5QmlImportScanner -#prefix_build: INSTALLS += cmake_build_integration -#else: COPIES += cmake_build_integration - -QMAKE_TARGET_DESCRIPTION = QML Import Scanner - -load(qt_tool) diff --git a/tools/qmljs/qmljs.pro b/tools/qmljs/qmljs.pro deleted file mode 100644 index c2c4cb3cc4..0000000000 --- a/tools/qmljs/qmljs.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = app -QT = qml-private core-private -CONFIG += no_import_scan -SOURCES = qmljs.cpp - -include($$PWD/../../src/3rdparty/masm/masm-defs.pri) - -QMAKE_TARGET_DESCRIPTION = QML JavaScript Tool - -load(qt_tool) diff --git a/tools/qmllint/qmllint.pro b/tools/qmllint/qmllint.pro deleted file mode 100644 index 1007ec5060..0000000000 --- a/tools/qmllint/qmllint.pro +++ /dev/null @@ -1,18 +0,0 @@ -option(host_build) - -QT = core-private qmldevtools-private qmlcompiler-private - -SOURCES += \ - checkidentifiers.cpp \ - main.cpp \ - findwarnings.cpp \ - qcoloroutput.cpp - -QMAKE_TARGET_DESCRIPTION = QML Syntax Verifier - -load(qt_tool) - -HEADERS += \ - checkidentifiers.h \ - findwarnings.h \ - qcoloroutput.h diff --git a/tools/qmlplugindump/qmlplugindump.pro b/tools/qmlplugindump/qmlplugindump.pro deleted file mode 100644 index 2e6e793157..0000000000 --- a/tools/qmlplugindump/qmlplugindump.pro +++ /dev/null @@ -1,32 +0,0 @@ -QT += qml qml-private quick-private core-private -qtHaveModule(widgets): QT += widgets - -CONFIG += no_import_scan - -QTPLUGIN.platforms = qminimal - -# We cannot use libQmlCompiler as that is built for the host -# and qmlplugindump needs to be built for the target. - -INCLUDEPATH += $$PWD/../../src/qmlcompiler - -SOURCES += \ - ../../src/qmlcompiler/qqmljsstreamwriter.cpp \ - main.cpp \ - qmltypereader.cpp - -HEADERS += \ - ../../src/qmlcompiler/qqmljsstreamwriter_p.h \ - qmltypereader.h - -macx { - # Prevent qmlplugindump from popping up in the dock when launched. - # We embed the Info.plist file, so the application doesn't need to - # be a bundle. - QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$shell_quote($$PWD/Info.plist) - CONFIG -= app_bundle -} - -QMAKE_TARGET_DESCRIPTION = QML Plugin Metadata Dumper - -load(qt_tool) diff --git a/tools/qmlpreview/qmlpreview.pro b/tools/qmlpreview/qmlpreview.pro deleted file mode 100644 index d42f2cbe07..0000000000 --- a/tools/qmlpreview/qmlpreview.pro +++ /dev/null @@ -1,15 +0,0 @@ -QT = network core qmldebug-private -CONFIG += no_import_scan - -SOURCES += \ - main.cpp \ - qmlpreviewapplication.cpp \ - qmlpreviewfilesystemwatcher.cpp - -HEADERS += \ - qmlpreviewapplication.h \ - qmlpreviewfilesystemwatcher.h - -QMAKE_TARGET_DESCRIPTION = QML Preview - -load(qt_tool) diff --git a/tools/qmlprofiler/qmlprofiler.pro b/tools/qmlprofiler/qmlprofiler.pro deleted file mode 100644 index 28e316b23a..0000000000 --- a/tools/qmlprofiler/qmlprofiler.pro +++ /dev/null @@ -1,19 +0,0 @@ -QT = network core qmldebug-private -CONFIG += no_import_scan - -SOURCES += main.cpp \ - qmlprofilerapplication.cpp \ - commandlistener.cpp \ - qmlprofilerdata.cpp \ - qmlprofilerclient.cpp - -HEADERS += \ - qmlprofilerapplication.h \ - commandlistener.h \ - constants.h \ - qmlprofilerdata.h \ - qmlprofilerclient.h - -QMAKE_TARGET_DESCRIPTION = QML Profiler - -load(qt_tool) diff --git a/tools/qmlscene/qmlscene.pro b/tools/qmlscene/qmlscene.pro deleted file mode 100644 index dcc46e17c7..0000000000 --- a/tools/qmlscene/qmlscene.pro +++ /dev/null @@ -1,12 +0,0 @@ -QT += qml quick quick-private gui-private core-private -qtHaveModule(widgets): QT += widgets -CONFIG += no_import_scan - -SOURCES += main.cpp - -DEFINES += QML_RUNTIME_TESTING -qtConfig(qml-debug): DEFINES += QT_QML_DEBUG_NO_WARNING - -QMAKE_TARGET_DESCRIPTION = QML Scene Viewer - -load(qt_tool) diff --git a/tools/qmltestrunner/qmltestrunner.pro b/tools/qmltestrunner/qmltestrunner.pro deleted file mode 100644 index 47b9637199..0000000000 --- a/tools/qmltestrunner/qmltestrunner.pro +++ /dev/null @@ -1,8 +0,0 @@ -SOURCES += main.cpp - -QT += qml qmltest -CONFIG += no_import_scan - -QMAKE_TARGET_DESCRIPTION = QML Test Runner - -load(qt_tool) diff --git a/tools/qmltime/qmltime.pro b/tools/qmltime/qmltime.pro deleted file mode 100644 index 366d90f75b..0000000000 --- a/tools/qmltime/qmltime.pro +++ /dev/null @@ -1,15 +0,0 @@ -TARGET = qmltime -QT += qml quick -QT += quick-private -macx:CONFIG -= app_bundle - -CONFIG += qmltypes -QML_IMPORT_NAME = QmlTime -QML_IMPORT_VERSION = 1.0 - -QMAKE_TARGET_DESCRIPTION = QML Time - -SOURCES += qmltime.cpp -HEADERS += qmltime.h - -load(qt_tool) diff --git a/tools/tools.pro b/tools/tools.pro deleted file mode 100644 index 21b23f20fa..0000000000 --- a/tools/tools.pro +++ /dev/null @@ -1,56 +0,0 @@ -TEMPLATE = subdirs -QT_FOR_CONFIG += qml-private - -qtConfig(qml-devtools) { - SUBDIRS += \ - qmllint \ - qmlimportscanner \ - qmlformat - - qtConfig(xmlstreamwriter): SUBDIRS += qmlcachegen -} - -qtConfig(thread):!android:!wasm:!rtems { - SUBDIRS += qml - - qtConfig(qml-profiler): SUBDIRS += qmlprofiler - qtConfig(qml-preview): SUBDIRS += qmlpreview - - qtHaveModule(quick) { - !contains(CONFIG, static) { - SUBDIRS += \ - qmlscene \ - qmltime - - qtConfig(regularexpression):qtConfig(process) { - SUBDIRS += \ - qmlplugindump - } - } - qtHaveModule(widgets) { - QT_FOR_CONFIG += widgets - qtConfig(dialogbuttonbox) { - SUBDIRS += \ - qmleasing - } - } - } - qtHaveModule(qmltest): SUBDIRS += qmltestrunner - qtConfig(private_tests): SUBDIRS += qmljs -} - -qtConfig(qml-devtools) { - qml.depends = qmlimportscanner - qmleasing.depends = qmlimportscanner -} - -# qmlimportscanner & qmlcachegen are build tools. -# qmlscene is needed by the autotests. -# qmltestrunner may be useful for manual testing. -# qmlplugindump cannot be a build tool, because it loads target plugins. -# The other apps are mostly "desktop" tools and are thus excluded. -qtNomakeTools( \ - qmlprofiler \ - qmlplugindump \ - qmleasing \ -) |