diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-06-20 15:51:33 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2014-06-24 16:43:39 +0200 |
commit | 1fc57baa23caf0b5986b88192446cf78dc08010d (patch) | |
tree | 33e4f19f3ca02e705727c2f79ecd51cfae713401 /src | |
parent | 341352b4bb1e729f384a3af1ca966ebd123f16e3 (diff) |
Disable strict strings under MSVC for QtSysteminfo
The Windows headers currently violate the standard. Worse, it's in
virtual functions...
Change-Id: I5e0ab21a6f6eb407ffa2c6eee117bcde3e0a18fa
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/systeminfo/systeminfo.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systeminfo/systeminfo.pro b/src/systeminfo/systeminfo.pro index 1165c3df..f485c26a 100644 --- a/src/systeminfo/systeminfo.pro +++ b/src/systeminfo/systeminfo.pro @@ -16,6 +16,10 @@ SOURCES += qdeviceinfo.cpp \ qnetworkinfo.cpp win32: !simulator: { + # Wbemidl.h violates C/C++ strict strings + QMAKE_CXXFLAGS -= -Zc:strictStrings + QMAKE_CXXFLAGS_RELEASE -= -Zc:strictStrings + contains(CONFIG, release) { CONFIG -= console } |