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

qmake doesn't support an INSTALL_ROOT with spaces

    XMLWordPrintable

Details

    Description

      qmake doesn't support an INSTALL_ROOT with spaces

      Example:

      1.echo "int main() {}" > test.cpp
      2.qmake –project –o test.pro
      3.echo –e "target.path = /foo\nINSTALLS += target" >> test.pro
      4.qmake
      5.make install INSTALL_ROOT=`pwd`/t\ e\ s\ t

      Inside the makefile it will result as the following which does not allow for INSTALL_ROOT to have spaces :

      install_target: first FORCE
      @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/foo/ || $(MKDIR) $(INSTALL_ROOT)/foo/

      It would be nice to have the following:

      install_target: all
      @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/foo/" || $(MKDIR) "$(INSTALL_ROOT)/foo/"

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes