Hi,

I have the following problem.
I have a lib let's call it libA in /usr/lib64 and /usr/local/lib the only 
difference is the Version of libA (the one in /usr/local/lib is newer).
If I now create a simple qmake project it generates a Makefile with the line:
LIBS          = $(SUBLIBS)  -L/usr/lib64 -lQtGui -lQtCore -lpthread

The problem with this line is the -L/usr/lib64 as this makes the linker look 
into /usr/lib64 for libA where it finds the old, wrong, lib.

My question is if there is any possibility to tell qmake not to add the -
L/usr/lib to the makefile or if this is not possible to add -L/usr/local/lib 
even before that.

I hope you're able to understand my problem. Any help is appreciated.

Alexander

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to