Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

FontLoader not available



  • 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


  • Lifetime Qt Champion

    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


Log in to reply