[Uml-user] Problems compiling umbrello-1.1
Mel
melanie.raimbault at chu-rennes.fr
Fri Oct 25 07:39:04 UTC 2002
Hi Everybody,
I'd like to install and use Umbrello 1.1 but I've got some errors when I try
and compile. I have a Debian Distribution (testing) with QT 3.0.5, KDE3.0 and
g++ and gcc version 2.95.4
I've downloaded umbrello-1.1-beta2.tar.bz2
./configure goes without any trouble.
Then I run make and this is what I get after a while :
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/include/qt
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c -o codegenerationwizardbase.o `test -f
'codegenerationwizardbase.cpp' || echo './'`codegenerationwizardbase.cpp
codegenerationwizardbase.cpp: In method
`CodeGenerationWizardBase::CodeGenerationWizardBase(QWidget * = 0, const
char*= 0, bool = FALSE, unsigned int = 0)':
codegenerationwizardbase.cpp:170: invalid use of undefined type `class
KPushButton'
codegenerationwizardbase.h:17: forward declaration of `class KPushButton'
codegenerationwizardbase.cpp:171: invalid use of undefined type `class
KPushButton'
codegenerationwizardbase.h:17: forward declaration of `class KPushButton'
codegenerationwizardbase.cpp:172: invalid use of undefined type `class
KPushButton'
codegenerationwizardbase.h:17: forward declaration of `class KPushButton'
codegenerationwizardbase.cpp:173: no matching function for call to
`QToolTip::add (KPushButton *&, QString)'
/usr/include/qt/qtooltip.h:90: candidates are: static void
QToolTip::add(QWidget*, const QString &)
/usr/include/qt/qtooltip.h:92: static void
QToolTip::add(QWidget *, const QString &, QToolTipGroup *, const QString &)
/usr/include/qt/qtooltip.h:95: static void
QToolTip::add(QWidget *, const QRect &, const QString &)
/usr/include/qt/qtooltip.h:97: static void
QToolTip::add(QWidget *, const QRect &, const QString &, QToolTipGroup *,
const QString &)
codegenerationwizardbase.cpp:175: no matching function for call to
`QGridLayout::addWidget (KPushButton *&, int, int)'
/usr/include/qt/qlayout.h:323: candidates are: void
QGridLayout::addWidget(QWidget *, int, int, int = 0)
codegenerationwizardbase.cpp:185: invalid use of undefined type `class
KPushButton'
codegenerationwizardbase.h:17: forward declaration of `class KPushButton'
codegenerationwizardbase.cpp:186: invalid use of undefined type `class
KPushButton'
codegenerationwizardbase.h:17: forward declaration of `class KPushButton'
codegenerationwizardbase.cpp:187: invalid use of undefined type `class
KPushButton'
codegenerationwizardbase.h:17: forward declaration of `class KPushButton'
codegenerationwizardbase.cpp:188: no matching function for call to
`QToolTip::add (KPushButton *&, QString)'
/usr/include/qt/qtooltip.h:90: candidates are: static void
QToolTip::add(QWidget*, const QString &)
/usr/include/qt/qtooltip.h:92: static void
QToolTip::add(QWidget*, const QString &, QToolTipGroup *, const QString &)
/usr/include/qt/qtooltip.h:95: static void
QToolTip::add(QWidget *, const QRect &, const QString &)
/usr/include/qt/qtooltip.h:97: static void
QToolTip::add(QWidget *, const QRect &, const QString &, QToolTipGroup *,
const QString &)
codegenerationwizardbase.cpp:190: no matching function for call to
`QGridLayout::addWidget (KPushButton *&, int, int)'
/usr/include/qt/qlayout.h:323: candidates are: void
QGridLayout::addWidget(QWidget *, int, int, int = 0)
codegenerationwizardbase.cpp:227: no matching function for call to
`CodeGenerationWizardBase::connect (KPushButton *&, const char[11],
CodeGenerationWizardBase *, const char[15])'
/usr/include/qt/qobject.h:112: candidates are: static bool
QObject::connect(const QObject *, const char *, const QObject *, const char *)
/usr/include/qt/qobject.h:208: bool QObject::connect(const
QObject *, const char *, const char *) const
codegenerationwizardbase.cpp:228: no matching function for call to
`CodeGenerationWizardBase::connect (KPushButton *&, const char[11],
CodeGenerationWizardBase *, const char[17])'
/usr/include/qt/qobject.h:112: candidates are: static bool
QObject::connect(const QObject *, const char *, const QObject *, const char *)
/usr/include/qt/qobject.h:208: bool QObject::connect(const
QObject *, const char *, const char *) const
make[3]: *** [codegenerationwizardbase.o] Error 1
make[3]: Leaving directory `/usr/src/umbrello-1.1/uml/dialogs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/umbrello-1.1/uml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/umbrello-1.1'
make: *** [all] Error 2
I'd like to know what I've done wrong.
Thanks a lot and sorry if this is some stupid question.
Melanie
More information about the umbrello
mailing list