On Fri, 30 Dec 2005, Brian Nelson wrote:
qmake adds -L/usr/lib to (the beginning of) LIBS. This is unneeded, and
actually causes many problems.
I agree it's unneeded, but what problems does it cause?
I was recompiling a package that contains both a library and a program.
When linking the program, "-L/usr/lib" came before "-L../lib" and the
linker tried to link the program against the old version of the library in
/usr/lib.
<rant>
I believe that -L$QTDIR -lQt* should only appear at the end of LIBS (or
close to the end), and -L$QTDIR only if it is needed; maybe even use
/usr/lib/libQt*.so instead of -L/-l flags, but I am dreaming. At least I
need to be able to add -L flags before -L$QTDIR (maybe that is possible
and I and the author of the package just need to read the doc...).
</rant>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]