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

Regression: can no longer shadow-build Qt on Windows from symlinked network share directory

    XMLWordPrintable

Details

    • 2019e78d87e0bff1118fe3b1144985c3bf67c2b4 a90694d1a60f30ec2abffbfa9e8c7a336c45e736 (qt/qtbase/5.12)

    Description

      Starting with Qt 5.8.0, it is no longer possible to do a Qt shadow-build on Windows from a symlinked network shared directory.

      Formerly, I could do a "mklink /d" to a network share directory (mapped to a drive letter), then invoke configure from a different directory on the filesystem (via relative path) for a shadow build, allowing me to have multiple Parallels VMs for different platforms that share the same source (via shared directory), with the build for the platform residing on the VM filesystem.

      Now, the build failure occurs because $$shadowed($$PWD) doesn't work: the $$shadowed call resolves to no prefix in this case.

      As a result, I'm forced to keep a copy of the source on my Windows VMs, which must be synced through robocopy for uncommitted changes, which is a time and space consuming step that is easy to forget.

      Attachments

        1. build.1.txt
          7.91 MB
        2. build.2.txt
          38 kB
        3. QTBUG-59319.zip
          37 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            erb Jason Erb (Suitable Technologies)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes