moc!

Thomas Abinger freaky001 at gmx.at
Sat Mar 2 19:45:10 GMT 2002


I've Problems with moc!
I've built a headerfile and a cpp file from the ui,but moc doesn't run!Can
somebody help me?

-rw-r--r--    1 work     users        3218 Mär  2 13:11 PizzaEntry.cpp
-rw-r--r--    1 work     users        1161 Mär  2 13:11 PizzaEntry.h
-rw-r--r--    1 work     users         249 Mär  2 20:29 PizzaEntryTest.cpp
-rw-r--r--    1 work     users        1302 Mär  2 20:30 moc_PizzaEntry.cpp
-rw-r--r--    1 work     users        7650 Mär  2 10:59 pizza.ui
work at qtlin:~/pizza> vi moc_PizzaEntry.cpp
work at qtlin:~/pizza> g++ -I$QTDIR/include PizzaEntry.cpp PizzaEntryTest.cpp \
> moc_PizzaEntry.cpp -L$QTDIR/lib -lqt
moc_PizzaEntry.cpp:45: new declaration `static void
PizzaEntryForm::staticMetaObject()'
PizzaEntry.h:24: ambiguates old declaration `static class QMetaObject *
PizzaEntryForm::staticMetaObject()'
moc_PizzaEntry.cpp: In function `void
__static_initialization_and_destruction_0(int, int)':
moc_PizzaEntry.cpp:29: no matching function for call to
`QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
/usr/lib/qt2/include/qmetaobject.h:259: candidates are:
QMetaObjectInit::QMetaObjectInit(void (*)())
/usr/lib/qt2/include/qmetaobject.h:261:                
QMetaObjectInit::QMetaObjectInit(const QMetaObjectInit &)

mfg freaky001

-- 
ta

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list