Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2482

LDFLAGS environment variable not used by qmake

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.5.1
    • 4.4.0
    • Build tools: qmake
    • None
    • b6b3ecb9604a249461c79a514a63bd50b98a5188

      The configure script will automatically take certain environment variables such as CFLAGS, CXXFLAGS, and others and use them in your Qt environment by converting them to a QMAKE_CFLAGS or QMAKE_CXXFLAGS equivalent and then writing them to the .qmake.cache file so that they will be used by qmake. The LDFLAGS variable has no effect however because this will map to QMAKE_LDFLAGS, but the variable that qmake actually uses is QMAKE_LFLAGS so this value never gets added to Makefile.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            stormols Marius Storm-Olsen
            jabarron Jason Barron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes