Conversion of std::wstring to QString throws linker error

前端 未结 7 2013
一生所求
一生所求 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 15:54

    boost::filesystem::path also seems to require the project setting "treat wchar as built-in type = yes", so vahapt's solution was the only one I could get to work.

提交回复
热议问题