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

Wrong QMAKE_COPY_DIR value in win32-g++ spec

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.4
    • 4.7.1
    • Build tools: qmake
    • None
    • Debian "Sid" amd64
    • 20097c27f55d8bc61ba41de5997d25f86daa18ed

    Description

      In file "Qt-4.7.1/mkspecs/win32-g++/qmake.conf" on line 80:

      75	!isEmpty(QMAKE_SH) {
      76	    MINGW_IN_SHELL      = 1
      77		QMAKE_DIR_SEP		= /
      78 		QMAKE_QMAKE		~= s,\\\\,/,
      79 		QMAKE_COPY		= cp
      80		QMAKE_COPY_DIR		= xcopy /s /q /y /i
      81		QMAKE_MOVE		= mv
      82		QMAKE_DEL_FILE		= rm
      83		QMAKE_MKDIR		= mkdir
      84		QMAKE_DEL_DIR		= rmdir
              ....
      

      but it is wrong, because there is no POSIX command "xcopy", it's just for Windows. I think correct value for that must be:

      QMAKE_COPY_DIR		= cp -r
      

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              joe Sam Protsenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes