Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qmake / Makefile
Forum Updated to NodeBB v4.3 + New Features

Qmake / Makefile

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    f.vanalmetelevic.com
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved