Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. FontLoader not available

FontLoader not available

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 243 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    cooked
    wrote on last edited by
    #1

    Hi,
    I'm trying to add a custom font via FontLoader to my application. According to the online help I should be able to do it via New File menu

    da481494-0f01-4ebb-a797-96112c3c5adc-image.png

    https://doc.qt.io/qtdesignstudio/studio-fonts.html

    but I have different options in my IDE (QtCreator downloaded form Debian repo) and FontLoader is not one of them.
    Additionally, the structure of my project looks completely different, without "imports" folder.

    a5dba81d-9f8f-4fb1-924a-5f5c8f641372-image.png

    can anyone shed some lights? is this related to Qt Design Studio being a different product (enterprise only)?

    ultimately, what is the way to use custom fonts in Qt Creator (possibly adding them to the Designer drop down lists, not only in code )?

    Cheers,
    Stef

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome to the forums
      QTCreator and Qt Design Studio are different products and hence both project structure and
      and the menus are not the same.
      As far as I know, you can only do it from code in Creator
      https://doc.qt.io/qt-5/qml-qtquick-fontloader.html

      1 Reply Last reply
      0

      • Login

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