Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, March 2002
Newbie linking problem


Message 1 in thread

Apologies for troubling the list with a very newbie problem. I am starting my 
first QT project. I am trying to do a very simple prokect using qmake. OS is 
Red Hat 7.1. I have three .cpp files and two .h files, which I have dutifully 
told qmake about. They now compile OK, but the make fails as below. What 
confuses me is that there is no error reported other than the exit status. I 
have probably not defined a function declared in a header; but, in the 
absence of an error message, how do I know which one? Or has the error 
message gone somewhere else?

g++  -o crumple line.o foldviewer.o crumple.o moc_foldviewer.o  
-Wl,-rpath,/home/alec/qt-x11-free-3.0.1/lib 
-L/home/alec/qt-x11-free-3.0.1/lib -L/usr/X11R6/lib
-lqt -lXext -lX11 -lm
collect2: ld returned 1 exit status
make: *** [crumple] Error 1

Thanks for any help

	Alec Cawley