我想在我的 Qt 应用程序中添加一个阿拉伯语标题,但它不起作用。这是我的代码:
#include "mainwindow.h"
#include <QtGui/QApplication>
#include <QString>
#include <QTextStream>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
mainWindow w;
QString appTitle("تجربه");
w.setWindowTitle(appTitle);
w.show();
return a.exec();
}
这是输出:
我该如何纠正?