Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I try to set by @ QmlApplicationViewer viewer; viewer.setFont(QFont("MHeiM-C-GB18030-S60")); viewer.setSource(QUrl(QLatin1String("qrc:/main.qml")));@
But it doesn't work.
OK. I use this in my main file and get what I want.
@app->setFont(QFont("MHeiM-C-GB18030-S60"));@