static plugin vs dynamic plugin
what is difference between static and dynamic plugin.
in plug and paint example of Qt Document static plugin is used .
when to use static and dynamic plugin
Static plugin means its compiled into the exe and not loaded as
a shared LIB / DLL on demand.
Often a static linking is used if the plugin must always be
available in the app.
If the plugins features are more optional, dynamic can be used
so its loaded more like on demand. And can be optional. ( not installed)
However, with static linking, you must recompile the app if plugin changes.
With dynamic, you only need to recompile the plugin and the app would use the new
This post is deleted!
@mrjj is it mean if you want to use one plugin in multiple application you should use dynamic plugins it does not work on static plugins.
@hjohn It works in both cases.
The difference is: static plug-in is built into your executable (like a static lib) and dynamic plug-in is basically a shared library which is loaded at runtime.
hjohn last edited by hjohn
@jsulm yeah now its clear..one last question:In which specific case i should use static plugins?
@jsulm okay thanks..