View Full Version : Plugin to Plugin (lib) dependency

9th June 2010, 18:22
Can I use a shared plugin library like a regular library?

For example, I have a project main. Main has 2 plugins A and B. Plugin A has no dependencies. Plugin B relies piggy backs on Plugin A functionallity such that libA.so (Plugin A) needs to be linked.

Is it possible to load Plugin B?


10th June 2010, 09:09
Sounds a bit like a trick question :-)

When you build your B lib, at build time you will have to link to A.
The application will have to link to both.

10th June 2010, 10:55
Yes,you can.Take a look at QtCreator.It has a plugin named Core.dll.And almost any other plugin depends on it.