summaryrefslogtreecommitdiffstats
path: root/src/entrypoint/entrypoint.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/entrypoint/entrypoint.pro')
-rw-r--r--src/entrypoint/entrypoint.pro34
1 files changed, 4 insertions, 30 deletions
diff --git a/src/entrypoint/entrypoint.pro b/src/entrypoint/entrypoint.pro
index 4a0b0b6e4c..261b3e68b3 100644
--- a/src/entrypoint/entrypoint.pro
+++ b/src/entrypoint/entrypoint.pro
@@ -1,34 +1,8 @@
# Additional Qt project file for QtEntryPoint lib
!win32:error("$$_FILE_ is intended only for Windows!")
-TARGET = QtEntryPoint
+TEMPLATE = subdirs
+CONFIG += ordered
-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
- 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
- }
-}
-
-load(qt_module)
+SUBDIRS += entrypoint_module.pro
+SUBDIRS += entrypoint_implementation.pro