2007/7/16, alexandrm <
alexandrm77@...>:
>
> Hi all!
>
> I started learn about Qt4 and KDE4 and try to write my first app in KDE4.
> Currently I have problems with creating .moc files. For some reason .o
> files were
> created successfully, but .moc were not created. I put kde4_automoc() in the
> CMakeLists.txt
> but it doesn't work also. When I try to add #include "foo.moc" in the .cpp
> files the compiler complains
> that it can't find "foo.moc" .
kde4_automoc isn't needed anymore. I guess you forgot to add Q_OBJECT
macro in class declaration.
>> Visit
http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<