[Interest] qmake adding unwanted lib flag to makefile

Lincoln Ramsay a1291762 at gmail.com
Wed Nov 28 23:37:51 CET 2012

On 28/11/12 23:33, Alexander Görtz wrote:
> 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.

You could do LIBS += /usr/local/lib/libmylib.so instead of -lmylib to 
explicitly select the library you want to link to...


More information about the Interest mailing list