No "kstdaction.moc" ?

David Faure faure at kde.org
Thu Nov 24 18:57:46 GMT 2005


On Tuesday 22 November 2005 12:00, Jarosław Staniek wrote:
> I cannot see Q_* macro in kstdaction.h (except one in docs), so I was getting 
> compile error - no "kstdaction.moc". 
> 
> OK with this? :
> 
> Index: kdeui/kstdaction.cpp
> ===================================================================
> --- kdeui/kstdaction.cpp        (revision 482256)
> +++ kdeui/kstdaction.cpp        (working copy)
> @@ -33,7 +33,6 @@
>  #include <kmainwindow.h>
>  #include "kstdaction_p.h"
>  #include "kstdaction_p.moc"
> -#include "kstdaction.moc"
> 
>  namespace KStdAction

Makes sense. In fact the bug is in unsermake:

creating ../kdeui/kstdaction.moc.cpp
/mnt/devel/kde/src/kde4-branch/kdelibs/kdeui/kstdaction.h:0: Warning: No relevant classes found. No output generated.

This is most probably due to the Q_OBJECT in a /*...*/ comment in the .h.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list