Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 3 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded