Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 Support (Qt 5) › How to import "qrc:/qml/…" in Felgo App

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #17930



    I created a folder under qml folder in my Felgo App project and name it as Templates. I also create a qml page as bgTemplates.qml in Templates folder.


    In my Main.qml I try to call as shown bellow and I am getting Invalid import qualifier ID



    Import “qrc:/qml/Templates” as ntTemplates



    My question is that how to import “qrc:/qml/…” in Felgo App?


    Felgo Team

    Hi, you can use the relative paths to your QML files in your custom import statements:

    // -- this is Main.qml in qml folder
    import "templates" // relative path to qml/templates folder
    // ...
    // note: Types in qml should start with an Uppercase Letter, e.g. BgTemplate.qml 
    BgTemplate {
      // ...




    Thanks Günther 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.