Plugins can't access members/methods of a class that is defined in the application that load them. If B was a Qt class (and not extended in any way within your app) you could use that inheritance scheme. Otherwise you have two solutions left : drop it and use a new design or put the B class ( and it's dependencies) into a shared library that will be accessible to both the application and the plugins since both could link to it...




Reply With Quote


Bookmarks