[Qt-interest] I can't get plugins to work

Michael Kirsch mkirsch358 at gmail.com
Sat Apr 2 20:05:37 CEST 2011


I made a simple example in the attachment, which contains two
projects: and app and a plugin. The problem is that even though
everything compiles file, QPluginLoader fails to load the compiled
plugin. Could anyone tell me what I'm doing wrong?

To use the example:

gunzip plugin-test.tar.gz
tar xf plugin-test.tar
cd plugin-test/plugin
qmake
make
cd ../app
qmake
make
./plugin-test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin-test.tar.gz
Type: application/x-gzip
Size: 2403 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110402/a7a0cffa/attachment.gz 


More information about the Qt-interest-old mailing list