error: C2440: “默认参数”: 无法从“const wchar_t [1]”转换为“BSTR”

解决办法:
在工程的.pro中添加

win32: QMAKE_CXXFLAGS_RELEASE -= -Zc:strictStrings
win32: QMAKE_CFLAGS_RELEASE -= -Zc:strictStrings
win32: QMAKE_CFLAGS -= -Zc:strictStrings
win32: QMAKE_CXXFLAGS -= -Zc:strictStrings