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

qmake Makefile check target creates Windows path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.10.0
    • Build tools: qmake
    • None
    • mingw64/MSYS with Qt 5.10

    Description

      I'm using qmake inside Mingw64/MSYS.

      Inside the pro files I need to refer to a relative path (DESTDIR=../bin) so testcase executables are placed correctly.

      When running the make check target, the generated Makefile code contains a line with a windows path notation:

      {{cd ..\bin && /C/Projects/tests/Testcase/src/target_wrapper.sh ./Testcase.exe }}

      Changing to ..\bin will fail, because ..bin is not found:

      {{/bin/sh: Zeile 0: cd: ..bin: No such file or directory }}

      I can't find the reason why qmake mixes windows and *nix notation.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            jluedicke Jens Luedicke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes