摘要:
QTranslator myTranslator; bool nBool = myTranslator.load("qt_zh_CN.qm",":/");//名字 路径 qDebug()<<"加载中文:"<<nBool; a.installTranslator(&myTranslator); 对应的 阅读全文
摘要:
int nfontId = QFontDatabase::addApplicationFont(":/锐字锐线梦想黑简V1.0.TTF");qDebug()<<"fontId = "<< nfontId;//等于-1加载失败if(nfontId>=0){ QString msyh = QFontDa 阅读全文