Finally my modified trivial example (with .h and .cpp) worked out by not including any moc-file and placing
QTNPFACTORY_BEGIN("Trivial Qt-based Plugin", "A Qt-based LiveConnected plug-in that does nothing") QTNPCLASS(Trivial) QTNPFACTORY_END( into the .cpp file. So - this way I learned at little bit more about moc files ;-) Cheers and best Alex -------- Original-Nachricht -------- > Datum: Tue, 25 Sep 2012 11:47:19 +0200 > Von: "Alexander Carôt" <alexander_ca...@gmx.net> > An: Konstantin Tokarev <annu...@yandex.ru>, interest@qt-project.org > Betreff: Re: [Interest] moc with qtbrowserplugin > > > However, I want to use a "trivial.h" for the class defintion and a > > "trivial.cpp" for the functions. > > > > Remove trivial.h from HEADERS (e.g. move it to SOURCES) > > > > This lead to the same behavior unfortunately ... > > Best > > Alex > -- > http://www.carot.de > http://www.triologue.de > Email : alexan...@carot.de > Tel.: +49 (0)177 5719797 > > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest -- http://www.carot.de http://www.triologue.de Email : alexan...@carot.de Tel.: +49 (0)177 5719797 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest