Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21164

Unix absolute paths treated as relative when cross-compiling on Windows

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      6c40fec9b0f11178ee987313c8a16af5a7b57c90

      Description

      This bug was found with Qt Creator extended with the 3rdparty plugin which enables cross-platform development for devices running Sailfish OS, a Unix-like OS. This means that even when running on a Windows host, project files may contain absolute Unix paths and those should be resolved against sysroot defined by the active Kit. The changeĀ https://codereview.qt-project.org/#/c/222357/ (qmake: require a drive in a DOS path for it to be absolute) breaks this, treating any absolute Unix path added to e.g. INCLUDEPATHS as a relative path and resolving it against the build directory instead of sysroot.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-21164
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              kandeler Christian Kandeler
              Reporter:
              martyone Martin Kampas
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes