c++ - Accepting unicode filenames as arguments in Qt5? -
i trying pass unicode file-name myfile 1 абв.jpg argument (qstring filetitle = args.at(4);) qt5 gui app in windows unicode characters getting converted ??? (myfile 1 ???.jpg) , results in error error opening save file following code:
the code used save file :
if(!m_file->open(qiodevice::writeonly)) { qdebug() << tr("error opening save file"); abort(); }
Comments
Post a Comment