Qt and C++ QtPlugin - what kind of plugins can be handled? -


i create application. keep in modular architecture , work on linux, mac , windows. want use qt library in general.

the of functionality of application stored in plugins, reasons best approach here. used create plugins on c++. considering use qt plugin management system.

my questions are:

  1. can system used manage kind of plugins? mean (all i've run into) examples cover plugins regarding qt styles , qt elements, etc. no general plugin managemet "foo" plugin doing "hello world".

  2. are there advantages of "manually created" pure c++ plugin system on qt plugin system? should rather consider using pure c++ approach?

qt offers generic plugin system, , can leverage whatever use desire. documentation has covered.

qt's low-level plugin api works on interface classes - classes abstract virtual methods. plugin implements such interface. plugin loader gives instance of interface-derived class implements interface.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -