Text's fontFamily property invalid in QML
Unsolved
QML and Qt Quick
-
wrote on 23 Oct 2017, 10:29 last edited by p3c0
Text's fontFamily property invalid in QML
I used Text in a qml file like this:
Text{ id: text font.family: "Roboto-Regular" }
When I used the qt-mingw, it can show correctly, but when I used the qt-msvc. It show the qt's default font family. Please help me, thanks
-
Looks strange. There is one example called fontDatabase in Qt examples. Can you compile in msvc and check this font is available ?
1/2