Conversion of std::wstring to QString throws linker error

前端 未结 7 2016
一生所求
一生所求 2020-12-17 15:25

Hi I need to convert a std::wstring to QString and I tried the most obvious way of

std::wstring wideString;
QString qtString = QStri         


        
7条回答
  •  爱一瞬间的悲伤
    2020-12-17 16:04

    This even may happen if QtCore4.lib is linked correctly. Make sure that the VS option "Treat wchar_t as built in type" is turned OFF.

提交回复
热议问题