some component imports cannot be created



  • So i have a project where I have built multiple .qml pages for an app, I wanted to load each of these components in my main.qml file and just change visibility for pane changes. however while some .qml files allow me to use them as components, others will not, giving a:

     'component with path . . . could not be created.'
    

    Error in designer whenever I include them in my main with this format:

    ApplicationWindow{
        . . .
        MyComponent1{}
    }
    

    There is only one appliactionWindow (in main) for all pages.
    all pages use grid layout, with the exception of a menu
    All the pages will build successfully on their own and all use the same style layout. Are there any common reasons for a .qml file not to work for a component when another one would?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.