Qmake / Makefile



  • In my project, when I do qmake (from within Qt-creator), a Makefile is created with these LIBS options :

    @LIBS = $(SUBLIBS) -L/home/filip/i.MX27/ltib/rootfs/usr/lib -L/usr/local/Trolltech/Qt-iMX27-version/lib -lQtGui -L/usr/local/Trolltech/Qt-iMX27-version/lib -L/home/filip/i.MX27/ltib/rootfs/usr/lib -lQtNetwork -lQtCore -lglib-2.0 -lgthread-2.0 -lgstreamer-0.10 -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound -lpng -lpthread
    @
    Now I would like to reduce the number of libraries that are included. E.g. -lasound and -lpng are not necessary. From the project settings I can see that qmake takes its information from the qws/linux-mxc-g++ folder :
    @qmake: qmake blackscreen.pro -r -spec qws/linux-mxc-g++@
    I taught, by adjusting the qmake.conf file in that subdirectory, and running qmake again, I would have a Makefile with the adjusted library list. Wrong taught. All libraries remain included, altough qws/linux-mxc-g++/qmake.conf was changed. qmake obviously takes its information from elsewhere. So, where does it gets its information ? How can I adjust the list of included libraries ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.