25.09.2012, 13:11, "Alexander Carôt" <alexander_ca...@gmx.net>: > Hello all, > > after having successfully compiled the trivial-example I am now trying to > include further functionality to it. In that context I have a problem: > > The original trivial project consists of one single cpp file, which contains > the class definition and below this it includes the moc: > > // CLASSDEF HERE ... > }; > > #include "trivial.moc" > QTNPFACTORY_BEGIN("Trivial Qt-based Plugin", "A Qt-based LiveConnected > plug-in that does nothing") > QTNPCLASS(Trivial) > QTNPFACTORY_END() > > 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) -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest