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

Qmake INSTALLS doesn't copy certain files on windows (files with special characters in name)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.1
    • Build tools: qmake
    • None
    • Windows XP Sp3

      This fails:

      lib.files = c:/mingw/bin/libstdc++-6.dll"
      lib.path = dist

      INSTALLS += lib

      because qmake translates it to
      copy /y c:\mingw\bin\libstdc++-6.dll <PROJECTPATH>/dist

      and windows interprets "+" as a special character. Quoting the whole filename solves the problem.

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

            Unassigned Unassigned
            fpasch Simon Pasch
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes