@font-face in QtStyle or embeeded fonts

  • Hi,
    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?

    Thank you

  • Lifetime Qt Champion

    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.

Log in to reply