the code compiles without problem, as you can see it is linker error;
and plugin implementation file include header declaring Conf.h
I can define
void Lib1::init(QObject * ptr)
as
void Lib1::init(Conf * ptr)
but it still say "undefined reference to `Conf::getValue(int)'"
Bookmarks