qss font-family not working
-
Hi,
After updating to Qt 5.13 I can't use the fonts I added with QApplication::addApplicationFont in my stylesheet anymore.
Previously I could do something like:QWidget { font-family: some-font, Arial; }and it would use "some-font".
Now in Qt 5.13 it falls back to Arial in this case.
The return value of QApplication::addApplicationFont is greater than -1 and I can query the family just fine.Any idea what's wrong?
-
Hi,
Looks like it could be a regression. Did you already check the bug report system ?
-
Hi,
Looks like it could be a regression. Did you already check the bug report system ?
-
Please post the link to the report so other users may find it more easily.
Well, you would have to implement your own QStyle sub-class and write a parser that would translate your custom styling language in something that you can paint the way you want it.
You can take a look at the internal QStylesheetStyle class that does that for Qt's style sheet system.