Because may be error output Cyrillic Text qml?

There was an unusual problem, which during the day, I have not found. The problem occurs only on 1 PC with Windows 10. When you try to output the Russian text in a qml Text instead of Russian letters displayed characters, as I thought, of the Greek alphabet. The first conclusion that shot down the encoding, but the mechanism of its settings for qml, I have not found. When you replace Text on the Label the text is displayed correctly started, but for example in TextEdit it also displays the wrong encoding. When you copy and paste for example in notepad++ the text is displayed correctly. Look it this way:
5e9626766efea808006176.png
Just in case code, though nothing special to him.
Connections {
 target: QmlModel
 onDiagnosticCompleted: {
 if(result.length) {
 diagnosticResult.text = "Text:" + result;
 diagnosticResultLabel.text = "Label:" + result;
}
}
 }


RowLayout {
 anchors.fill: parent
 id: layout
 Rectangle {
 border.color: "#101010"
 border.width: 1
 Layout.fillWidth: true
 Layout.minimumWidth: 50
 Layout.preferredWidth: 100
 Layout.maximumWidth: 300
 Layout.minimumHeight: 150

 Text {
id:diagnosticResult
 padding: 5
 anchors.fill: parent
z:0
}

}
 Rectangle {
 border.color: "#101010"
 border.width: 1
 Layout.fillWidth: true
 Layout.minimumWidth: 50
 Layout.preferredWidth: 100
 Layout.maximumWidth: 300
 Layout.minimumHeight: 150

 Label {
id:diagnosticResultLabel
 anchors.fill: parent
 padding: 5
z:0
}

}
 }
April 19th 20 at 12:02
2 answers
April 19th 20 at 12:04
Solution
An intermediate result. If the Text to set the renderType: Text.NativeRendering the text becomes normal. We have to figure out why this is happening.

Augmented:
to use the native renderer to the whole project, you can insert qputenv("QML_DISABLE_DISTANCEFIELD", "1"); at the beginning of the main or through the function
void QQuickWindow::setTextRenderType(QQuickWindow::TextRenderType renderType)
by setting QQuickWindow::NativeTextRendering
April 19th 20 at 12:06
Try to update your graphics driver
It helped, although I'd be surprised - Richmond_Kuval commented on April 19th 20 at 12:09
@Richmond_Kuvalwas take problem on virtualbox, helped disable 3-d acceleration - domenica.Les commented on April 19th 20 at 12:12

Find more questions by tags QMLQt