plugin accessing data from qApp
Unsolved
General and Desktop
-
Plugins are normally made for accessing plugin methods in the main program.
Now I have an application, where the plugin needs to call a method from the main program.
How is this done?
I have a working solution using QMetaObject::invoke(), but using this is rather complex.Is there an easier way to call an application method from within the plugin?
-
Hi,
Can you give more information about that plugin wanting to access
qApp
? -
Can you explain what you mean by that ?
Method called from libraries don't need to be virtual at all unless you want the library users to be able to re-implement them.
-
Did you load the plugin properly ?