I am getting below error while using this command qmake.exe project.pro -r -spec win32-msvc2015
qmake.exe project.pro -r -spec win32-msvc2015
C:\\Program Files (x86)\\Windows Kits\\8.1\\incl
It's because some Windows headers violate strictStrings rules. You could try loosening checking even more:
win32: QMAKE_CXXFLAGS_RELEASE -= -Zc:strictStrings win32: QMAKE_CFLAGS_RELEASE -= -Zc:strictStrings win32: QMAKE_CFLAGS -= -Zc:strictStrings win32: QMAKE_CXXFLAGS -= -Zc:strictStrings