diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-07-04 12:47:21 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-07-04 15:17:04 +0000 |
commit | 9bbb085718ca1af4f816331d450b2129e30ff281 (patch) | |
tree | ca8e7cbfec1affcbee03e59d95b1fe6ff7ebe613 /src/libs/utils/images/locked@2x.png | |
parent | 2ba326cd0426341a2f753fe340469580141345cb (diff) | |
download | qt-creator-9bbb085718ca1af4f816331d450b2129e30ff281.tar.gz |
QMake parsing: Improve behavior in case of empty build directoryv4.7.0-rc1
The build directory can be "empty" if there is no build configuration,
or if the build configuration's build directory is empty.
Handle both cases in the same way.
This avoids passing an actually empty build directory to the parser,
which the parser does no longer handles gracefully on Windows.
If the build directory is empty, use the project's source path (instead
of QDir(QString()) which is the current working directory), which makes
it consistent with the behavior when actually building in that case.
The parser does not actually write files to disk, so there is no issue
with temporarily using that directory and later switching to a shadow
build directory.
Task-number: QTCREATORBUG-20121
Change-Id: Ia454085edae6b55b445cc5cf0ec3ae1c85464b0c
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/libs/utils/images/locked@2x.png')
0 files changed, 0 insertions, 0 deletions