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

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



    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0, 5.12.0 Beta 3
    • Fix Version/s: 5.12.1
    • Component/s: Build System
    • Environment:
      Windows 8.1
    • Commits:
      2019e78d87e0bff1118fe3b1144985c3bf67c2b4 a90694d1a60f30ec2abffbfa9e8c7a336c45e736 (qt/qtbase/5.12)


      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.


        1. build.1.txt
          7.91 MB
        2. build.2.txt
          38 kB
        3. QTBUG-59319.zip
          37 kB
        For Gerrit Dashboard: QTBUG-59319
        # Subject Branch Project Status CR V



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


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes