Hi I need to convert a std::wstring to QString and I tried the most obvious way of
std::wstring
QString
std::wstring wideString; QString qtString = QStri
I was seeing a similar problem but none of these solutions worked. I eventually realised I was compiling with Visual Studio 2017 but linking to Qt compiled with Visual Studio 2013. Once I selected the right version it worked fine.