diff options
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) |