error: C2001: newline in constant
QPushButton *CreateButton = new QPushButton(tr("初始化"),this);
Qt Creator环境设置:
工具-->选项-->文本编辑器-->行为-->文本编码(区域):
默认编码:UTF-8
UTF-8 BOM:如果是UTF-8则添加
//为窗口添加QActions
m_OpenClick = new QAction(QStringLiteral("&打开"), Disp);