ToStdWString() unresolved external
-
toStdWString () unresolved external in visual studio, my project has: "Treat wchar_t as build-in type" set to yes, how to avoid it, setting this option to "NO" is not an option.
-
if switching this is not an option, the second one would be to recompile Qt by setting this switch to true.
Or don't use that function ;-) -
yes, I've thought about it, and indeed recompiling should work :) Thank you for your help and time!
-
Here's how I've worked around it (sometimes you don't have the option of rebuilding): https://developer.qt.nokia.com/wiki/toStdWStringAndBuiltInWchar