diff options
author | Kevin Funk <kevin.funk@kdab.com> | 2016-11-24 19:42:16 +0100 |
---|---|---|
committer | Kevin Funk <kevin.funk@kdab.com> | 2016-11-25 09:26:53 +0000 |
commit | 062bf190b88abd845c97b210b27de1ff5905a410 (patch) | |
tree | 1379a364457e4a8f1ee34608593929bcf7a41639 /tests | |
parent | bf639fbcc69b853667ce6210baa539554e480769 (diff) | |
download | qt-creator-062bf190b88abd845c97b210b27de1ff5905a410.tar.gz |
tst_dumpers: Restore compilation with MSVC
We need to explicitly pass -MD when compiling source files. Unsetting
QMAKE_CXXFLAGS_RELEASE under MSVC strips this flag.
Error:
watchdata.obj : error LNK2038: mismatch detected for 'RuntimeLibrary':
value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in
debuggerprotocol.obj
watchutils.obj : error LNK2038: mismatch detected for 'RuntimeLibrary':
value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in
debuggerprotocol.obj
tst_dumpers.obj : error LNK2038: mismatch detected for 'RuntimeLibrary':
value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in
debuggerprotocol.obj
Follow-up on 0bf4bfcade0cc9f24b5b9a8a8a4a8811e8378b8e
Change-Id: I4b63f23c6a0bb6330d30b5ffe894fa0ddcd74cab
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/debugger/dumpers.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/debugger/dumpers.pro b/tests/auto/debugger/dumpers.pro index a22349dc04..6385f42bbd 100644 --- a/tests/auto/debugger/dumpers.pro +++ b/tests/auto/debugger/dumpers.pro @@ -42,4 +42,4 @@ INCLUDEPATH += $$DEBUGGERDIR # clang 3.5 does not like to optimize long functions. # likewise gcc 5.4 -QMAKE_CXXFLAGS_RELEASE = +clang|gcc: QMAKE_CXXFLAGS_RELEASE = |