Take a look at Qt's plugin system. A common mistake is to try to inherit the plugin class from QWidget. Instead of that, you should define a function which creates and returns a widget when asked:
Qt Code:
class PluginInterface { public: virtual ~PluginInterface() {} };To copy to clipboard, switch view to plain text mode
Bookmarks