diff options
| -rw-r--r-- | mkspecs/features/qt_module_headers.prf | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/qt_module_headers.prf b/mkspecs/features/qt_module_headers.prf index 9248be2d68a..4a4a41850d6 100644 --- a/mkspecs/features/qt_module_headers.prf +++ b/mkspecs/features/qt_module_headers.prf @@ -252,6 +252,11 @@ headersclean:!internal_module {          # -Za enables strict standards behavior, but we can't add it because          # <windows.h> and <GL.h> violate the standards.          hcleanFLAGS = -WX -W3 -wd4180 -wd4458 + +        # MSVC 2015 (compiler version 19.0): +        # 4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc +        greaterThan(QMAKE_MSC_VER, 18): hcleanFLAGS += -wd4577 +          hcleanCOMMAND = $$QMAKE_CXX -c $(CXXFLAGS) $$hcleanFLAGS $(INCPATH) $$hcleanDEFS -FI${QMAKE_FILE_IN} -Fo${QMAKE_FILE_OUT} \                          $$[QT_INSTALL_DATA/src]/mkspecs/features/data/dummy.cpp      }  | 
