Plugin Issue
-
Hello, guys. So, I'm not that new to Qt, yet I hadn't read about its plugins until yesterday.
I am trying to use the Plug And Paint example, but I found that the "Basic Tools" static plugin is only compiled to a .a file, and I'm a Windows 7 user, so that's no use.
Plug And Paint complains that "pnp_basictoolsd" is not found. I have deleted and recompiled to make sure, and I get three files on the output folder:libpnp_basictoolsd.a
libpnp_extrafiltersd.a
pnp_extrafiltersd.dllAnyone has a hint?
Thanks in advance,
Vee. -
In the example, the basic tools is always built statically. So you always have to link it statically to your application. The "Plug & Paint explanation":http://doc.qt.nokia.com/4.7/tools-plugandpaint.html#importing-static-plugins shows you the details.
This boils down to
@
LIBS += -L/path/to/your/plugin/binaries -lpnp_basictools
@