mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Remove -Zc:strictStrings flag that Qt 5.4 adds when using MSVS 2013.
This commit is contained in:
parent
124b1ceb03
commit
d2dbfedf19
@ -95,6 +95,15 @@ win32 {
|
||||
QMAKE_CXXFLAGS_RELEASE *= -arch:SSE
|
||||
}
|
||||
|
||||
# Qt 5.4 uses -Zc:strictStrings by default on MSVS 2013.
|
||||
# TextToSpeech_win.cpp uses sapi.h, which isn't compatible
|
||||
# with the strictStrings option due to bad conversions
|
||||
# in some of its functions's default parameters.
|
||||
QMAKE_CFLAGS_RELEASE -= -Zc:strictStrings
|
||||
QMAKE_CXXFLAGS_RELEASE -= -Zc:strictStrings
|
||||
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO -= -Zc:strictStrings
|
||||
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO -= -Zc:strictStrings
|
||||
|
||||
QMAKE_LFLAGS_CONSOLE -= /SUBSYSTEM:CONSOLE
|
||||
QMAKE_LFLAGS_CONSOLE += /SUBSYSTEM:CONSOLE,5.01
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user