diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-15 17:04:27 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-17 12:13:00 +0200 |
commit | b5af1408099dedd132f36e04d19cb5771a23ec28 (patch) | |
tree | 85109c13469dcde91aea87e29ed52c116732fbf8 /src/winmain/winmain.pro | |
parent | 8ec4fd9cffe7977f6d7cb68ce38de4386a5795d6 (diff) |
Generalize the winmain/qtmain entry-point library
The use-case is relevant for other platforms as well.
Now that Qt has a module system we can also replace a lot of the
hand crafted logic for linking with simpler constructs.
Change-Id: Ib6853aaf81bfea79c31f2de741d65b4b56f23ef6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/winmain/winmain.pro')
-rw-r--r-- | src/winmain/winmain.pro | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/winmain/winmain.pro b/src/winmain/winmain.pro deleted file mode 100644 index 19ce9ffa82..0000000000 --- a/src/winmain/winmain.pro +++ /dev/null @@ -1,31 +0,0 @@ -# Additional Qt project file for qtmain lib on Windows -!win32:error("$$_FILE_ is intended only for Windows!") - -TEMPLATE = lib -TARGET = qtmain -DESTDIR = $$QT.core.libs - -CONFIG += static -QT = core - -DEFINES += QT_NO_FOREACH - -qtConfig(debug_and_release): CONFIG += build_all - -msvc: QMAKE_CFLAGS_DEBUG -= -Zi -msvc: QMAKE_CXXFLAGS_DEBUG -= -Zi -msvc: QMAKE_CFLAGS_DEBUG *= -Z7 -msvc: QMAKE_CXXFLAGS_DEBUG *= -Z7 -mingw: DEFINES += QT_NEEDS_QMAIN - -CONFIG -= qt -SOURCES = qtmain_win.cpp -QMAKE_USE_PRIVATE += shell32 - -load(qt_installs) - -TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end - -load(qt_targets) -load(qt_build_paths) -load(qt_common) |