Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-23-2002, 09:53 PM   #1
LQ Newbie
Registered: Oct 2002
Location: DFW, Texas
Distribution: Mandrake 9.2
Posts: 12

Rep: Reputation: 0
QT3 Problem when compiling a program

I get a slew of errors talking about 'undefined reference to such-and-such. stuff like qpaint and other q-related.

I have a feeling it's not locating the qt libraries... but I'm a linux newbie and not sure how to fix this problem.

here is about 1/20th of the errors.

.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi+0x1c0): undefined refere
nce to `QDialog::reject(void)'
.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi.12QPaintDevice+0xc): und
efined reference to `QPaintDevice::setResolution(int)'
.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi.12QPaintDevice+0x10): un
defined reference to `QPaintDevice::resolution(void) const'
.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi.12QPaintDevice+0x14): un
defined reference to `QPaintDevice::handle(void) const'
.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi.12QPaintDevice+0x18): un
defined reference to `QPaintDevice::x11RenderHandle(void) const'
.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi.12QPaintDevice+0x1c): un defined reference to `QPaintDevice::setX11Data(QPaintDeviceX11Data const *)'
.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi.12QPaintDevice+0x20): un defined reference to `QPaintDevice::cmd(int, QPainter *, QPDevCmdParam *)'
.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi.12QPaintDevice+0x28): un defined reference to `QPaintDevice::fontMet(QFont *, int, char const *, int) con st'
.obj/moc_messages.o(.gnu.linkonce.d.__vt_12exMessagesUi.12QPaintDevice+0x2c): un defined reference to `QPaintDevice::fontInf(QFont *, int) const'
.obj/moc_messages.o: In function `exMessagesUi type_info function':
.obj/moc_messages.o(.gnu.linkonce.t.__tf12exMessagesUi+0xe): undefined reference to `QDialog type_info function'
.obj/moc_messages.o: In function `exMessagesUi::metaObject(void) const':
.obj/moc_messages.o(.exMessagesUi::gnu.linkonce.t.metaObject(void) const+0xd): u ndefined reference to `QDialog::staticMetaObject(void)'
.obj/moc_messages.o(.exMessagesUi::gnu.linkonce.t.metaObject(void) const+0x2f): undefined reference to `QMetaObject::new_metaobject(char const *, QMetaObject *, QMetaData const *, int, QMetaData const *, int, QMetaProperty const *, int, QMe taEnum const *, int, QClassInfo const *, int)'
.obj/moc_messages.o(.exMessagesUi::gnu.linkonce.t.metaObject(void) const+0x46): undefined reference to `QMetaObjectCleanUp::setMetaObject(QMetaObject *&)'
collect2: ld returned 1 exit status

any ideas???


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gtkglarea compiling program problem vas_dee Linux - Software 2 03-19-2005 05:23 AM
problem compiling kde and another program poboy975 Linux - Software 3 01-18-2005 12:41 AM
Problem installing qt3.3.2 Brummy Linux - Software 2 08-14-2004 10:46 AM
QT3 designer problem tux89 Programming 1 03-20-2004 10:33 AM
Problem with compiling my program. Zeth_htp Linux - Newbie 4 04-04-2003 10:12 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration