Text's fontFamily property invalid in QML
Unsolved
QML and Qt Quick
-
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 ?