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


OverviewFelgo 3 Support (Qt 5) › doubt about sub directories and imports

Viewing 1 post (of 1 total)
  • Author
  • #21745


    I have a question about imports and directories, is there a maximum of level on the directories to add imports? I was trying to order my application files, mainly the pages on subdirectories, but the project began to fail

    I have on MainItem all the imports

    import "pages"
    import "logic"
    import "model"
    import "storage"

    and on pages I want to add my registration pages on a subdirectory called registration:







    if I add ‘import “pages/registration”‘ on the MainItem component the navigation page give theĀ  error: ‘EmailRegistrationPage’ is not a component, and if I add the import on the navigation page: ‘import “registration”‘ the project give me the error: ‘type MainItem is unavialable’, I don’t understand how this works, since in

    pages I have a subdirectory that contains some components I created, and those don’t give me any error when I imported on the pages.





Viewing 1 post (of 1 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