Fixed a general linker problem with release builds on MSVC

This commit is contained in:
Matthias Köfferlein 2018-09-08 23:11:16 +02:00
parent adebdf307b
commit c9d7b39190
1 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,9 @@ msvc {
/wd4251 \ # Disable "DLL interface required"
/source-charset:utf-8 \ # Use UTF-8 for source files
QMAKE_LFLAGS += \
/OPT:NOREF \ # preserves functions we want to keep for implementing the "force link" mechanism
QMAKE_CXXFLAGS_WARN_ON += \
} else {