Important: Please read the Qt Code of Conduct -

Tips for a good QML library

  • Hello :)

    I wish to develop some QML libs. For each component, I describe its UI with a .qml file and the logic with a C++ class. I use qmlRegisterType. These components are part of a QML extension plugin.

    The problem is :

    • I don't want the ***Logic QML bindings to be availables outside "their" qml file. Is it possible ? Like a "qmlRegisterPrivateType"...
    • My library's .qml files are not availables from my app. Though I wrote the qmldir file properly. Did I miss something ?

    Thank you very much !

Log in to reply