and then this errormessage outputs:
_______________________________________
In file included from scribble2.cpp:46:
scribble2.moc:44: new declaration `static void
ScribbleWindow::staticMetaObject()'
scribble2.cpp:15: ambiguates old declaration `static class QMetaObject *
ScribbleWindow::staticMetaObject()'scribble2.moc: In function `(static
initializers for scribble2.cpp)':
scribble2.moc:28: no matching function for call to
`QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
/usr/lib/qt-2.1.0/include/qmetaobject.h:220: candidates are:
QMetaObjectInit::QMetaObjectInit(const QMetaObjectInit &)
/usr/lib/qt-2.1.0/include/qmetaobject.h:218:
QMetaObjectInit::QMetaObjectInit(void (*)())
make: *** [scribble2.o] Error 1
_________________________________________
Any ideés?
/Asgd
Also, are you sure that the "moc" in your path is indeed the one of Qt
2.1.0 ?
Looks like it's the one for 1.4x.
Use $QTDIR/bin/moc instead, if your QTDIR is set.
--
David Faure
fa...@kde.org - KDE developer
da...@mandrakesoft.com - Mandrake
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2.