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

qmake INSTALLS target does not work with spaces in the path name, strips quotes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 4.7.1
    • Build tools: qmake
    • None
    • Windows XP SP3
      Visual Studio 2005 SP1

    Description

      In Windows XP, with a pro file, and PROGRAMFILES_HOME environment variable set to C:\Program Files

      target.path = "$$(PROGRAMFILES_HOME)"
      target.files = ./src/*.h
      INSTALLS += target

      Do a qmake; nmake install. get the following output

      copy /y c:\example\src\example.h c:\Program Files
      The syntax of the command is incorrect.

      If I wrap the destination directory in quotes copy /y c:\example\src\example.h "c:\Program Files", the copy command works. The quotes in the .pro file in the INSTALLS section are being stripped.

      Attachments

        1. QTBUG-17894.zip
          0.5 kB
          Andy Shaw (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            vsimon Vicken Simonian
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes