How to create QML library?

  • How do I create a library (e.g., .a, .so, .dll, etc.) for multiple platfirns consisting of QML types but no C++ classes? What is required in the .pro file? Is a qmldir file required? What else is needed? Are there any examples?
    Once the library has been created, how is it referenced from apps (e.g., in .pro file, as import in .qml file, etc.) and where should it be located. Again, are there any examples of this?

Log in to reply

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