Hi List

So I have my own plugins A and B, which compiles and works fine. They both
have their dependencies on other plugins.

However now I would want plugin B to depend on plugin A.
I would think that I would need a .pri file (at least that's how other Qt
Creator plugins seem to be included). But I am unsure on how exactly that
works.

what I tried is:
* create a pri file for plugin A simply containing "LIBS *=
-l$$qtLibraryName(plugina)"
* just add this to plugin B's .pro file:
include(../folder/plugina/plugina.pri)

The best result I could get was successful compilation, but on using
something from pluginA in pluginB, I am getting a linker error. But even
that requires an include statement "folder/plugina/toinclude.h"

Note: pluginB is built after pluginA is built, so that shouldn't be cause of
the problem.


Would be great if anybody has some pointers, thanks a bunch. I am rather
certain this is another newbie mistake I am making here, maybe related to my
plugin(s) not being configured/setup correctly.

Thomas
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to