需要在字符串前添加 QString::fromUtf8
例:
b2 = new QPushButton(this);b2->setText(QString::fromUtf8("变化"));b2->move(200,100);
本文共 177 字,大约阅读时间需要 1 分钟。
需要在字符串前添加 QString::fromUtf8
例:
b2 = new QPushButton(this);b2->setText(QString::fromUtf8("变化"));b2->move(200,100);
转载于:https://www.cnblogs.com/zhaihongliangblogger/p/7760260.html