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. Setting up a QML plugin with externally accessible C++ logic
Forum Updated to NodeBB v4.3 + New Features

Setting up a QML plugin with externally accessible C++ logic

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 85 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.
  • J Offline
    J Offline
    JJCodes
    wrote on last edited by JJCodes
    #1

    Hi Guys, this is my first question in this forum, so pls be patient with me and tell me what i should not do here instead of blaming me for it :)

    My situation is the following: I want to set up an application that is based on extension plugins that could have both QML and C++ in it. A good example is a namelist, that receives the to be displayed names from the main application via a simple method call

    UpdateNameList(QList<String> namelist)

    Unfortunately I find no single source that allows me both. I found QML Extensions C++ that allows to extend QML and I found QT Plugins that allow to extend only logic, but what I need to do is both. Is there a way to archeive this? My initial thought was, that maybe I can insert for example the NameList via a signal and slot mechanism into the above mentioned QML Extension but here I guess I went into a dead end since I found no way to access the underlying C++ logic from a consuming application.

    1 Reply Last reply
    0

    • Login

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