diff options
author | Li Xinwei <1326710505@qq.com> | 2020-12-14 01:13:18 +0800 |
---|---|---|
committer | Li Xinwei <1326710505@qq.com> | 2020-12-15 22:54:46 +0800 |
commit | 21e4e85a5798884837b35859f73f1eca4cb976d2 (patch) | |
tree | ac456c2cf6df9adc58d4d3d057d034d1dc00f8ae /src/corelib/text/qstring.cpp | |
parent | 0a7f9297a873aa2c6f2707f825b424e28423ae39 (diff) |
CMake: Fix compile warnings when MSVC and -DFEATURE_static_runtime=ON
When using MSVC compiler and -DFEATURE_static_runtime=ON, qrc_foo.cpp
and qtentrypoint_win.cpp are still compiled with '-MD' or '-MDd' flag,
which will cause following warnings and other possible problems:
warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs;
use /NODEFAULTLIB:library
Pick-to: 6.0
Change-Id: I6794930a64e9cff4dc1c9632fc3fc64227848af0
Reviewed-by: Yuhang Zhao <2546789017@qq.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/corelib/text/qstring.cpp')
0 files changed, 0 insertions, 0 deletions