[Qt-interest] I don't get the plugin systems documentation
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Tue Feb 24 10:14:25 CET 2009
Niklas Berglund wrote on Tuesday, February 24, 2009 12:40 AM:
> ...
> I did a small example with my problem:
> PluginInterface.h http://pastebin.com/m570b0214 PluginExample.h
> http://pastebin.com/m76fa2ca6 PluginExample.cpp
> http://pastebin.com/m699b7259 My .pro-file
> http://pastebin.com/m4bac5157
I added some slight modifications at the given links - not sure if they make a difference though.
Basically I think you probably need to inherit "public" from your plugin interface:
class MyPlugin : public QOBject, public MyPluginInterface {...};
^^^^^
Also, using the qmake TEMPLATE = plugin might help (not sure if that template still exists in Qt 4 tough - it was there for Qt 3)
Does that help?
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list