Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Mixed C++\QML Plugin Shared Library
Forum Update on Monday, May 27th 2025

Mixed C++\QML Plugin Shared Library

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmldirpluginshared library
1 Posts 1 Posters 502 Views
  • 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 Offline
    S Offline
    simone.malvezzi
    wrote on 24 Jun 2020, 16:17 last edited by simone.malvezzi
    #1

    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
    1

    1/1

    24 Jun 2020, 16:17

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved