Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. [Moved] My application and it’s plugins
QtWS25 Last Chance

[Moved] My application and it’s plugins

Scheduled Pinned Locked Moved Brainstorm
2 Posts 2 Posters 2.2k 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.
  • D Offline
    D Offline
    desper4do
    wrote on last edited by
    #1

    Hi there,
    first of all, sorry for my bad english. I am new to Qt. I have read some tutorials and examples about Qt plugin framework. But I still do not get how to write plugin-heavy, modulary application. My main purpose is that I need all logic in plugins, main application has only GUI, plugin loading module and maybe some core functions also. The main point is application does not know anything about plugins, what functions they have. Just loadPlugin() and run() :-) Plugin's code is about to modify main app's GUI (adding menu items, changing widget's content, getting widget's content) and showing it's own widgets (which must be main app's window child).

    What is the best practice and design to make such application, how to write application API for plugins and how to put code, which "does all" to plugin? Thanks in advance :-)

    [EDIT: moved to the brainstorm forum, Volker]

    1 Reply Last reply
    0
    • U Offline
      U Offline
      Uwe Kindler
      wrote on last edited by
      #2

      Two years ago I asked myself the same question. My solution: getting the QtCreator source code and study it. QtCreator is exactly the kind of application you descibe in your post. It is very well designed and you can learn a lot from it - especially how to make a modular, plugin based application.

      Another good example for such a plugin based framework is the "Generic Component Framework":http://www.vcreatelogic.com/products/gcf/. You can use this framework out of the box without the need to design your own.

      Another great source for learning is the "Qtilities":http://www.qtilities.org/ library.

      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