Important: Please read the Qt Code of Conduct -

How to use text with 2 font family in single line

  • Hi all,

    I want to use text line with 2 separate font family. I mean normal for for normal text and another font for icon (awesome font). So how can I do this in qml???

    I use Qt 5.14

    Thank you

  • Create a separate component extending Item and use Row or RowLayout as container. Add two Text elements to container and use property aliases in main Item to set text for each Text into container.

Log in to reply