Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Design of pluginable application
Forum Updated to NodeBB v4.3 + New Features

Design of pluginable application

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 603 Views 1 Watching
  • 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.
  • G Offline
    G Offline
    GrahamL
    wrote on last edited by
    #1

    Hi
    I am designing an application built around plugins.
    I know how to create plugins and read them in at run time, but now I need a way of invoking the signal/slot mechanism between them.
    For example, in a simple scenario I have plugin1 that has a slot for processing a signal the plugin2 emits.
    Plugin1 knows (nor should it) nothing about plugin2.

    One approach I thought of (not implemented yet) is to create a map of signals and slots that a plugin defines using the QMeta System and then processing these maps to create the connections. There would have to be some kind of naming convention(similar to the uic connectByName).

    Is this a good plan?
    How is this generally implemented?

    Thanks

    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