Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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?
    Thanks.


Log in to reply