Qt Creator 中文亂碼

更改文本編輯器設置  代碼 QTextCodec *codec = QTextCodec::codecForName("gb18030"); QString qstr = codec->toUnicode("大大 不是吧"); textBrowser->setText(qstr);  
相關文章
相關標籤/搜索