Hi all,
I created an application plugin that the QPluginLoader recognized just fine. I used one class Result in two files result.h and result.cpp.
The only change I did was create a new project (lib template) as utils and moved the class to that library.
It compiles and deploys fine. But when I want to load the plugin, the QPluginLoader does not recognize it as a plugin, while it did when the Result class was part of the plugin project.
Compiling utils either as dll or as static, in both cases the plugin does not get recognized. I even had create_prl and link_prl in my CONFIG.
Anyone know what might be wrong here? Is it not possible to use a header from a different library in a plugin?
P.S. the Result class is not part of the plugin interface.
↧