Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
@font-face in QtStyle or embeeded fonts
Artemis21 last edited by
I'm customizing an app that supports Qt CSS, I've actually changed some font inside the app with font-family, but this obviously works only if the font is already installed in the machine. Is it possible to use an external font like google fonts via @font-face, or some font in the same directory of the .css? so that the font installation is not needed?
As far as i know its not possible with stylesheets.
You can load fonts from resource file/folder with Qt but
it takes code
I have never seen anything that allows this directly in stylesheets.