QML file question



  • I'm looking to put all my QML files in a centralized location. I copied them to QT_PATH/imports/components/ folder as well as a qmldir file and was able to import as follows

    import components 0.1

    I can use the components no problem, but I noticed in design view they do not show up. Is there another file that is needed to make them show up in the designer, so I can drag and drop?

    Thanks



  • The only way I could get my qml components to show up in the designer library item pane was to use relative path

    something like

    import "../../../../workspace/components/"

    Which is too bad.


Log in to reply
 

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