Qt4 moc problem
Alexander Neundorf
neundorf at kde.org
Wed Jan 18 23:57:46 CET 2006
Hi,
moc running moc on some files in kdelibs/kdecore, it says: no relevant classes
found, e.g. for kmanagerselection.h and kwinmodule.h
Both have an ifdef:
#ifdef Q_OS_UNIX
in kwinmodule.h and
#ifdef Q_WS_X11
in kmanagerselection.h
It produces the correct moc file if I call it
moc -DQ_OS_UNIX -DQ_WS_X11 kwinmodule.h -o kwinmodule.moc
Is this the intended usage ?
moc -I $(QT4DIR)/include kwinmodule.h -o kwinmodule.moc
doesn't help, still no output.
Any hints ?
Thanks
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the Kde-buildsystem
mailing list