Hi,
I try to do something similar with my app MKBlog. I played with different concepts of how to use plugins with Qt and C++. First I saw that Qt also offers a plugin concept, but thought that it was only to extend Qt-Designer or so... then I realized that this was really generic stuff. Now I use it myself in my little app that I try to build.
What you have to do, is fairly good documented here:
Main-App and it's Plugins.
What you need to know is that qmake knows a third option to create projects:
1) app
2) lib
3) plugin <---
The third is the target type your plugins must use. It's working great. After using QPluginLoader to load the plugin, it really doesn't matter if it's a UI class implementing a widget, or some business logic.
Hope it helps... good luck




Reply With Quote
Bookmarks