unable to compile qtdesigner application

rohit sharma rohits79 at yahoo.com
Sun Mar 3 08:53:04 UTC 2002


hi 
i am unable to compile a simple qt3 designer
application on mandrake 8.1  :( 

can anyone please point out what am i missing here

cheers
Rohit


 make
/usr/lib/qt3/bin/uic form1.ui -o .ui/form1.h
g++ -c -pipe -Wall -W -O3 -fomit-frame-pointer -pipe
-mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce  -DQT_NO_DEBUG -DQT_NO_CHECK
-I/usr/lib/qt3/include -I.ui/ -I/root/progs -I.moc/
-I/usr/lib/qt3/mkspecs/default -o .obj/main.o main.cpp
/usr/lib/qt3/bin/uic form1.ui -i form1.h -o
.ui/form1.cpp
g++ -c -pipe -Wall -W -O3 -fomit-frame-pointer -pipe
-mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce  -DQT_NO_DEBUG -DQT_NO_CHECK
-I/usr/lib/qt3/include -I.ui/ -I/root/progs -I.moc/
-I/usr/lib/qt3/mkspecs/default -o .obj/form1.o
.ui/form1.cpp
/usr/lib/qt3/bin/moc .ui/form1.h -o .moc/moc_form1.cpp
g++ -c -pipe -Wall -W -O3 -fomit-frame-pointer -pipe
-mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce  -DQT_NO_DEBUG -DQT_NO_CHECK
-I/usr/lib/qt3/include -I.ui/ -I/root/progs -I.moc/
-I/usr/lib/qt3/mkspecs/default -o .obj/moc_form1.o
.moc/moc_form1.cpp
g++  -o myfirst .obj/main.o .obj/form1.o
.obj/moc_form1.o  -L/usr/lib/qt3/lib -L/usr/X11R6/lib
-lqt -lXext -lX11 -lm
.obj/moc_form1.o: In function
`__static_initialization_and_destruction_0':
.obj/moc_form1.o(.text+0x23): undefined reference to
`QMetaObjectCleanUp::QMetaObjectCleanUp(void)'
.obj/moc_form1.o(.text+0x41): undefined reference to
`QMetaObjectCleanUp::~QMetaObjectCleanUp(void)'
.obj/moc_form1.o: In function `Form1::tr(char const *,
char const *)':
.obj/moc_form1.o(.text+0x88): undefined reference to
`QApplication::translate(char const *, char const *,
char const *, QApplication::Encoding) const'
.obj/moc_form1.o: In function `Form1::trUtf8(char
const *, char const *)':
.obj/moc_form1.o(.text+0xd8): undefined reference to
`QApplication::translate(char const *, char const *,
char const *, QApplication::Encoding) const'
.obj/moc_form1.o: In function
`Form1::staticMetaObject(void)':
.obj/moc_form1.o(.text+0x12c): undefined reference to
`QMetaObject::new_metaobject(char const *, QMetaObject
*, QMetaData const *, int, QMetaData const *, int,
QMetaProperty const *, int, QMetaEnum const *, int,
QClassInfo const *, int)'
.obj/moc_form1.o(.text+0x143): undefined reference to
`QMetaObjectCleanUp::setMetaObject(QMetaObject *&)'
.obj/moc_form1.o: In function `Form1::qt_cast(char
const *)':
.obj/moc_form1.o(.text+0x1bc): undefined reference to
`QDialog::qt_cast(char const *)'
.obj/moc_form1.o: In function `Form1::qt_invoke(int,
QUObject *)':
.obj/moc_form1.o(.text+0x1c1): undefined reference to
`QDialog::qt_invoke(int, QUObject *)'
.obj/moc_form1.o: In function `Form1::qt_emit(int,
QUObject *)':
.obj/moc_form1.o(.text+0x1d1): undefined reference to
`QDialog::qt_emit(int, QUObject *)'
.obj/moc_form1.o: In function `Form1::qt_property(int,
int, QVariant *)':
.obj/moc_form1.o(.text+0x1e3): undefined reference to
`QDialog::qt_property(int, int, QVariant *)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x28):
undefined reference to `QDialog::eventFilter(QObject
*, QEvent *)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x48):
undefined reference to
`QObject::customEvent(QCustomEvent *)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x68):
undefined reference to
`QWidget::setBackgroundMode(Qt::BackgroundMode)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x6c):
undefined reference to `QWidget::setEraseColor(QColor
const &)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x70):
undefined reference to
`QWidget::setErasePixmap(QPixmap const &)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x78):
undefined reference to
`QWidget::setPaletteBackgroundColor(QColor const &)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x7c):
undefined reference to
`QWidget::setPaletteBackgroundPixmap(QPixmap const &)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x154):
undefined reference to
`QDialog::contextMenuEvent(QContextMenuEvent *)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x158):
undefined reference to `QWidget::imStartEvent(QIMEvent
*)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x15c):
undefined reference to
`QWidget::imComposeEvent(QIMEvent *)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x160):
undefined reference to `QWidget::imEndEvent(QIMEvent
*)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x164):
undefined reference to
`QWidget::tabletEvent(QTabletEvent *)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x198):
undefined reference to
`QWidget::windowActivationChange(bool)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x19c):
undefined reference to `QWidget::create(unsigned long,
bool, bool)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1+0x1b4):
undefined reference to
`QWidget::setMicroFocusHint(int, int, int, int, bool,
QFont *)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1.12QPaintDevice+0xc):
undefined reference to
`QPaintDevice::setResolution(int)'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1.12QPaintDevice+0x10):
undefined reference to `QPaintDevice::resolution(void)
const'
.obj/moc_form1.o(.gnu.linkonce.d.__vt_5Form1.12QPaintDevice+0x18):
undefined reference to
`QPaintDevice::x11RenderHandle(void) const'
.obj/moc_form1.o: In function `Form1::metaObject(void)
const':
.obj/moc_form1.o(.Form1::gnu.linkonce.t.metaObject(void)
const+0x2c): undefined reference to
`QMetaObject::new_metaobject(char const *, QMetaObject
*, QMetaData const *, int, QMetaData const *, int,
QMetaProperty const *, int, QMetaEnum const *, int,
QClassInfo const *, int)'
.obj/moc_form1.o(.Form1::gnu.linkonce.t.metaObject(void)
const+0x43): undefined reference to
`QMetaObjectCleanUp::setMetaObject(QMetaObject *&)'
collect2: ld returned 1 exit status
make: *** [myfirst] Error 1


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com




More information about the KDevelop-devel mailing list