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

qmake missing quotes in LIBS variable content if it does`t contain spaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.7.0, 4.7.1
    • Build tools: qmake
    • None
    • QMake 2.01a
      Linux openSUSE 11.3 x64
      Windows 7 x64

    Description

      It`s large trouble if environment variable which contain spaces using in the path.
      When makefile generated path in parameter have`t quotes.

      Hack solution (Windows only) - paste dummy space, for example

      LIBS += "$(CROSS_FW)/Libs/Debug/libCommon.a " \
              "$(CROSS_FW)/Libs/Debug/libSystem.a "
      

      As I know in Linux qmake use other "space guard" method (escape spaces with ). And above hack solution does`t work.

      P.S. quote() function does`t help.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            neooleg Oleg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes