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

Can't build in C:\dev\temp, C:\dev\tmp, C:\temp\dev, etc.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4: Low P4: Low
    • None
    • 5.14.0 Beta 1
    • Build System
    • None

      I'm trying to build the qtquickcontrols2 gallery example using Qt 5.14. I've tried with both the command line and Qt Creator, but both fail with this output:

      Info: creating stash file C:\.qmake.stash
      C:/dev/qt5.14/qtbase/mkspecs/features/toolchain.prf:73: Cannot write cache file C:\.qmake.stash: Access is denied.
      Info: creating stash file C:\.qmake.stash
      C:/dev/qt5.14/qtbase/mkspecs/features/toolchain.prf:73: Cannot write cache file C:\.qmake.stash: Access is denied.
      Info: creating stash file C:\.qmake.stash
      C:/dev/qt5.14/qtbase/mkspecs/features/toolchain.prf:73: Cannot write cache file C:\.qmake.stash: Access is denied.
      Info: creating stash file C:\.qmake.stash
      C:/dev/qt5.14/qtbase/mkspecs/features/toolchain.prf:76: Cannot write cache file C:\.qmake.stash: Access is denied.
      Info: creating stash file C:\.qmake.stash
      C:/dev/qt5.14/qtbase/mkspecs/features/toolchain.prf:405: Cannot write cache file C:\.qmake.stash: Access is denied.
      Info: creating stash file C:\.qmake.stash
      C:/dev/qt5.14/qtbase/mkspecs/features/toolchain.prf:407: Cannot write cache file C:\.qmake.stash: Access is denied.
      

      Examples of paths I've tried that have failed:

      • C:\tmp\dev\gallery-qt-5.14
      • C:\temp\dev\gallery-qt-5.14

      Paths without tmp or temp work:

      • C:\dev\gallery-qt-5.14

      It happens for other examples, like the wearable example, but not for a widgets example, like calculator:

      • C:\dev\temp\calculator-qt-5.14

      But it fails for the text example:

      • C:\dev\temp\text-qt-5.14

      It happens with both a self-built Qt 5.14 and the official 5.14.0 beta 1 binaries.

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

            qtbuildsystem Qt Build System Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes