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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support