error C2440: 'default argument': cannot convert from 'const wchar_t [1]' to 'BSTR'

后端 未结 1 1866
时光说笑
时光说笑 2020-12-20 21:12

I am getting below error while using this command qmake.exe project.pro -r -spec win32-msvc2015

C:\\Program Files (x86)\\Windows Kits\\8.1\\incl         


        
相关标签:
1条回答
  • 2020-12-20 21:28

    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
    
    0 讨论(0)
提交回复
热议问题