#pragma execution_character_set("utf-8") #include "widget.h" #include int main(int argc, char *argv[]) { QApplication a(argc, argv); a.setFont(QFont("Microsoft Yahei", 9)); Widget w; w.setWindowTitle("存款计算器 (QQ: 517216493 WX: feiyangqingyun)"); w.show(); return a.exec(); }