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

LDFLAGS environment variable not used by qmake

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes