Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Mixed C++\QML Plugin Shared Library

    QML and Qt Quick
    qmldir plugin shared library
    1
    1
    273
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      simone.malvezzi last edited by simone.malvezzi

      Hi,

      I know this topic has already been covered on this forum, but I still have doubts on how to setup the shared lib .pro and importing lib into application project to cover all the use cases I have:

      • I need to implement a shared library project with C++ classes and QML components

      • Lots of c++ classes needs to be extended on application side, and I reached this point using Symbols approach

      • Several QML components has C++ backend. Reading documentation I understand that I can reach this using the Extension Plugin approach

      • Some of these are pure QML components without c++ backend and I need to load these from application side without the extension plugin approach

      My problem is: I want that each QML file related to sharedlib will be hidden on application side, as these components will be shared from different application and I don't want to have custom QML components at application level. So my target is to put qml files into qrc inside the shared library and access to these modules\components from application side.

      How can I achieve these points? I read qt documentation but I feel lost finding the right approach.
      Thanks in advance.

      1 Reply Last reply Reply Quote 1
      • First post
        Last post