Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Which font does QML Material style use?
Forum Updated to NodeBB v4.3 + New Features

Which font does QML Material style use?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 605 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maxwell31
    wrote on last edited by
    #1

    Hi,

    I thought about using the Roboto font for my desktop app. I wonder whether I need to put the font files into the resources, in case it is not installed on a computer.

    Then again, QT has a Material style, does this style automatically use the Roboto font? If not, which font does it use for the buttons when Material style is selected?

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nifiro
      wrote on last edited by
      #2

      I think it uses Roboto font
      https://code.woboq.org/qt5/qtquickcontrols2/src/imports/controls/material/qquickmaterialtheme.cpp.html#58

      1 Reply Last reply
      2
      • M Offline
        M Offline
        maxwell31
        wrote on last edited by
        #3

        Thank you!

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved