qt5.4解决输出中文乱码问题时间:2023-03-09 18:35:46 需要在字符串前添加 QString::fromUtf8 例: b2 = new QPushButton(this); b2->setText(QString::fromUtf8("变化")); b2->move(,);