[Solved] Compile Release on Qt5.4RC MSVC2013: : 'default argument' : cannot convert from 'const wchar_t ' to 'BSTR'
I'm trying to go from Qt5.4beta MSVC2012OpenGL to Qt5.4RC1 MSVC2013 (official enterprise) to get the features presented in http://blog.qt.digia.com/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/.
Compiling for debug works fine, but then trying to compile for release for debug, I get these 20 of these errors:
C:\Program Files (x86)\Windows Kits\8.1\Include\um\WbemDisp.h:1088: error: C2440: 'default argument' : cannot convert from 'const wchar_t ' to 'BSTR'
Conversion from string literal loses const qualifier (see /Zc:strictStrings)
I find that someone else have had this issue as well: http://stackoverflow.com/questions/26802956/vs2013-compile-for-debug-but-not-for-release
but I can't seem to find a bugreport on it. Is this actually a bug that I should report, or are there some environment issues?
This was "solved" by reverting https://qt.gitorious.org/qt/qtbase/commit/9f0e5d00ab51cc7c0dc87c8d72f48c4e6eda
Not solved? I just download and install the release version today: "Qt 5.4.0 for Windows 32-bit (VS 2013, OpenGL, 694 MB)", but the same issue occurs:
C:\Program Files (x86)\Windows Kits\8.1\include\um\sapi.h(12407) : error C2440: default argument’ : cannot convert from ‘const wchar_t ’ to ‘BSTR’
I updated to 5.5 hoping it would fix this issue but it still happens on 5.5
This is still and issue on 5.5, 5.4 but not 5.3 only on release builds
using VS 2013