摘要:
QTranslator myTranslator; bool nBool = myTranslator.load("qt_zh_CN.qm",":/");//名字 路径 qDebug()<<"加载中文:"<<nBool; a.installTranslator(&myTranslator); 对应的 阅读全文
posted @ 2018-04-27 15:41
金色洋光
阅读(1183)
评论(0)
推荐(0)
摘要:
int nfontId = QFontDatabase::addApplicationFont(":/锐字锐线梦想黑简V1.0.TTF");qDebug()<<"fontId = "<< nfontId;//等于-1加载失败if(nfontId>=0){ QString msyh = QFontDa 阅读全文
posted @ 2018-04-27 15:33
金色洋光
阅读(1063)
评论(0)
推荐(0)
浙公网安备 33010602011771号