[Development] how i can override link libs in qmake.conf?

Antonio Aloisio antonio.aloisio at gmail.com
Fri Feb 15 11:05:58 CET 2013


Hi,
IIRC libs are defined in the LIBS qmake variable. You can define your own
set of libs using LIBS= instead of appending stuff with LIBS+=


I hope this can help you.

Cheers,
Antonio




On Thu, Feb 14, 2013 at 6:53 PM, Mumtaz Ahmad <mumtazahmad2504 at gmail.com>wrote:

> I have made specs file for my environment but when i build my application
> i find unwanted libs like -lcomdlg32 -loleaut32 -limm in my link command.
> How i can control from qmake.conf?
>
> -lQt5Gui -lcomdlg32 -loleaut32 -limm32 -lwinmm -llibEGL -llibGLESv2
> -lgdi32 -lQt5Core -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32
> -lkernel32
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130215/92748ff3/attachment.html>


More information about the Development mailing list