QT Errors....
Howdy Y'all...
I'm trying to write some QT1.42 apps; they won't compile when I issue
the command:
g++ -I /usr/local/qt/include -L/usr/X11R6/lib -lqt TestCalc.cc
I get the following error messages:
/usr/lib/crt1.o(.text+0x36): undefined reference to `main'
/tmp/ccc01819: In function `TestCalc::TestCalc(QWidget *, char const
*)':
/tmp/ccc01819(.text+0x28): undefined reference to
`TestCalc::QPaintDevice virtual table'
/tmp/ccc01819(.text+0x32): undefined reference to `TestCalc virtual
table'
/tmp/ccc01819: In function `TestCalc::~TestCalc(void)':
/tmp/ccc01819(.text+0x18fa): undefined reference to
`TestCalc::QPaintDevice virtual table'
/tmp/ccc01819(.text+0x1901): undefined reference to `TestCalc virtual
table'
collect2: ld returned 1 exit status
HELPPP!!!!
NOTE: I have qt1.42 installed in /usr/local/qt. The include dir is
/usr/local/qt/include, and the lib files are in /usr/local/qt/lib.
Thanks,
Brant
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Reply to: