Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.15.2, 6.2.0
-
None
-
Ubuntu 20.04 LTS
g++ 9.3.0
Description
- Check out qt5 and its submodule qtbase.
I have d85ff1e93425a0782cc3a34d018a0b1f21d82a2b and a120d11cb5506ef0a5535e790f23d49595fb8857 respectively. - Configure Qt for a developer build.
My command line:/tmp/qt-bisect/build-qt.tmp$ /tmp/qt-bisect/qt5/configure -developer-build -opensource -confirm-license -nomake examples -nomake tests
- Build Qt.
cmake --build . --parallel
- Use this Qt build for building a project:
qtrob@rob-desktop:/tmp/qt-bisect/build-test.tmp$ /tmp/qt-bisect/build-qt.tmp/qtbase/bin/qmake /tmp/qt-bisect/qt5/qtbase/examples/gui/analogclock/analogclock.pro
qmake will complain about missing permissions:
Info: creating stash file /.qmake.stash /tmp/qt-bisect/qt5/qtbase/mkspecs/features/toolchain.prf:73: Cannot write cache file /.qmake.stash: Permission denied Info: creating stash file /.qmake.stash /tmp/qt-bisect/qt5/qtbase/mkspecs/features/toolchain.prf:73: Cannot write cache file /.qmake.stash: Permission denied Info: creating stash file /.qmake.stash /tmp/qt-bisect/qt5/qtbase/mkspecs/features/toolchain.prf:73: Cannot write cache file /.qmake.stash: Permission denied Info: creating stash file /.qmake.stash /tmp/qt-bisect/qt5/qtbase/mkspecs/features/toolchain.prf:73: Cannot write cache file /.qmake.stash: Permission denied Info: creating stash file /.qmake.stash /tmp/qt-bisect/qt5/qtbase/mkspecs/features/toolchain.prf:76: Cannot write cache file /.qmake.stash: Permission denied Info: creating stash file /.qmake.stash /tmp/qt-bisect/qt5/qtbase/mkspecs/features/toolchain.prf:421: Cannot write cache file /.qmake.stash: Permission denied Info: creating stash file /.qmake.stash /tmp/qt-bisect/qt5/qtbase/mkspecs/features/toolchain.prf:423: Cannot write cache file /.qmake.stash: Permission denied
Trying to write to / seems fundamentally wrong.
Attachments
Issue Links
- duplicates
-
QTBUG-76140 qmake computes wrong path for .qmake.stash when invoking it on an example of a repo containing a .qmake.conf file
-
- Open
-