[Interest] moc with qtbrowserplugin

"Alexander Carôt" alexander_carot at gmx.net
Tue Sep 25 16:27:35 CEST 2012


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_carot at gmx.net>
> An: Konstantin Tokarev <annulen at yandex.ru>, interest at 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 : Alexander at Carot.de
> Tel.: +49 (0)177 5719797
> 
> 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
http://www.carot.de
http://www.triologue.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797






More information about the Interest mailing list