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 file from the same diectory

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #21741

    Nuno Carvalho


    I am new in Felgo.

    I am following the Udemy course. I had no problem importing a page file from a different directory but when I follow the video I get an error importing a file from the same directory. I am trying to import to Main.qml

    What is the problem?


    Thanks in advance for your help.

    import Felgo 3.0
    import QtQuick 2.0
    App {
        // name of file: propertyMain.qml
     propertyMain {}



    Ginzo Milani

    you can try doing

    import "propertyMain.qml" as propertyMain



    Felgo Team


    by definition, qml files should start with uppercase letters (PropertyMain.qml), this could already solve the issue.



    Nuno Carvalho


Viewing 4 posts - 1 through 4 (of 4 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