MSVC: Fix link warning if ship qt library without pdb files
qtmaind.lib(qtmain_win.obj)👎 warning: LNK4099: PDB 'vc100.pdb' was
not found with 'qtmaind.lib(qtmain_win.obj)';
linking object as if no debug info
Change-Id: I5d515a240e917f5747ec8ca7dabde1cd1a1b14de
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
8c6c76b77e
commit
95c4be798c
@ -7,6 +7,11 @@ CONFIG += staticlib warn_on
|
||||
CONFIG -= qt shared
|
||||
|
||||
win32 {
|
||||
win32-msvc*:QMAKE_CFLAGS_DEBUG -= -Zi
|
||||
win32-msvc*:QMAKE_CXXFLAGS_DEBUG -= -Zi
|
||||
win32-msvc*:QMAKE_CFLAGS_DEBUG *= -Z7
|
||||
win32-msvc*:QMAKE_CXXFLAGS_DEBUG *= -Z7
|
||||
win32-g++*:DEFINES += QT_NEEDS_QMAIN
|
||||
win32-g++*:DEFINES += QT_NEEDS_QMAIN
|
||||
win32-borland:DEFINES += QT_NEEDS_QMAIN
|
||||
SOURCES = qtmain_win.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user