mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Disable stupid MS-specific compiler CRT-related warnings
This commit is contained in:
parent
56830bf714
commit
ea24b9e858
|
@ -39,7 +39,7 @@ win32 {
|
|||
|
||||
win32-msvc* {
|
||||
VERSION = 1.5.0 # More complicated things cause errors during compilation under MSVC++
|
||||
DEFINES += __WIN32
|
||||
DEFINES += __WIN32 _CRT_SECURE_NO_WARNINGS
|
||||
QMAKE_CXXFLAGS += /wd4290 # silence the warning C4290: C++ exception specification ignored
|
||||
LIBS += -lshell32 -luser32 -lsapi -lole32 -lhunspell
|
||||
LIBS += -L$${PWD}/winlibs/lib/msvc
|
||||
|
|
Loading…
Reference in a new issue