summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-05-31 15:06:14 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-06-04 21:19:37 +0200
commit224a60989ed95e8b91ac88a12666af6e5a66e619 (patch)
tree72d3f4b192d9e647ca44ea2ec9ed5243acdc64c3 /tests/manual
parentff4ef79e0ddc1310262d2db60e6f9ba51df9dc6c (diff)
Fix determination of source and build roots
QMake searches a .qmake.conf file to determine the source root of the project, and a .qmake.cache to determine the build root. If a .qmake.conf exists but no .qmake.cache in the build directory is found, a build root would be set that is only valid if the build directory is at the same depth as the source directory. The invalid build root resulted in the creation of .qmake.cache files at "interesting" locations (e.g. high up in the directory tree), a potential cause for even more interesting build failures in the future. Fix this by splitting up the loop that determined build and source root. Both are now determined independently of each other. Fixes: QTBUG-76140 Change-Id: Ib5c922b87879fcf2f076298a69abcdbc4e8587b3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions