diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-12-17 14:55:57 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-01-07 15:32:28 +0100 |
commit | ad2da2d27a590333fc89a56fc58700a09c3017b3 (patch) | |
tree | 7d916e7a15150d1ba3ca4af7f167e33f9d3c6cc6 /src/entrypoint | |
parent | fca3ea040c9d05f112c6fc018f0c8e8c68892642 (diff) |
Remove the qmake project files
Remove the qmake project files for most of Qt.
Leave the qmake project files for examples, because we still test those
in the CI to ensure qmake does not regress.
Also leave the qmake project files for utils and other minor parts that
lack CMake project files.
Task-number: QTBUG-88742
Change-Id: I6cdf059e6204816f617f9624f3ea9822703f73cc
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/entrypoint')
-rw-r--r-- | src/entrypoint/entrypoint.pro | 9 | ||||
-rw-r--r-- | src/entrypoint/entrypoint_implementation.pro | 40 | ||||
-rw-r--r-- | src/entrypoint/entrypoint_module.pro | 39 |
3 files changed, 0 insertions, 88 deletions
diff --git a/src/entrypoint/entrypoint.pro b/src/entrypoint/entrypoint.pro deleted file mode 100644 index f3ba106720..0000000000 --- a/src/entrypoint/entrypoint.pro +++ /dev/null @@ -1,9 +0,0 @@ - -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS += entrypoint_module.pro - -win32 { - SUBDIRS += entrypoint_implementation.pro -} diff --git a/src/entrypoint/entrypoint_implementation.pro b/src/entrypoint/entrypoint_implementation.pro deleted file mode 100644 index 3866163220..0000000000 --- a/src/entrypoint/entrypoint_implementation.pro +++ /dev/null @@ -1,40 +0,0 @@ - -TEMPLATE = lib - -TARGET = QtEntryPoint - -CONFIG += static no_module_headers internal_module -QT = core - -DEFINES += QT_NO_FOREACH - -win32 { - SOURCES = qtentrypoint_win.cpp - CONFIG -= qt - - QMAKE_USE_PRIVATE += shell32 - - msvc { - QMAKE_CFLAGS_DEBUG -= -Zi - QMAKE_CXXFLAGS_DEBUG -= -Zi - QMAKE_CFLAGS_DEBUG *= -Z7 - QMAKE_CXXFLAGS_DEBUG *= -Z7 - } - mingw { - DEFINES += QT_NEEDS_QMAIN - } -} - -# Minimal qt_helper_lib - -load(qt_build_paths) -load(qt_common) - -qtConfig(debug_and_release): CONFIG += debug_and_release -qtConfig(build_all): CONFIG += build_all - -DESTDIR = $$MODULE_BASE_OUTDIR/lib - -TARGET = $$qt5LibraryTarget($$TARGET) - -load(qt_installs) diff --git a/src/entrypoint/entrypoint_module.pro b/src/entrypoint/entrypoint_module.pro deleted file mode 100644 index dbf87fbfc5..0000000000 --- a/src/entrypoint/entrypoint_module.pro +++ /dev/null @@ -1,39 +0,0 @@ - -TARGET = QtEntryPoint -MODULE = entrypoint - -CONFIG += header_module no_module_headers internal_module - -QT = - -win32 { - MODULE_DEPENDS = entrypoint_implementation - - mingw { - MODULE_DEFINES += QT_NEEDS_QMAIN - - # This library needs to come before the entry-point library in the - # linker line, so that the static linker will pick up the WinMain - # symbol from the entry-point library. - MODULE_LDFLAGS += -lmingw32 - } -} - -uikit { - # The LC_MAIN load command available in iOS 6.0 and above allows dyld to - # directly call the entrypoint instead of going through _start in crt.o. - # Passing -e to the linker changes the entrypoint from _main to our custom - # wrapper that calls UIApplicationMain and dispatches back to main() once - # the application has started up and is ready to initialize QApplication. - MODULE_LDFLAGS += -Wl,-e,_qt_main_wrapper -} - -contains(MODULE_DEPENDS, entrypoint_implementation) { - MODULE_PRI_EXTRA_CONTENT = \ - "QT.entrypoint_implementation.name = QtEntryPointImplementation" \ - "QT.entrypoint_implementation.module = Qt6EntryPoint" \ - "QT.entrypoint_implementation.libs = \$\$QT_MODULE_LIB_BASE" \ - "QT.entrypoint_implementation.module_config = staticlib v2 internal_module" -} - -load(qt_module) |