diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2018-04-25 11:40:05 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2018-05-08 05:14:05 +0000 |
commit | c4e4bb9604a884ca5966ebab19e510a1966f798a (patch) | |
tree | 85aa8cd95a41b611dfd56d7cb574b471109d2b8a /tests/auto/blackbox/testdata/multiple-configurations/file.cpp | |
parent | f58f1b0b4e1b417c7f32b08ad59ad4b67f5f4e3a (diff) | |
download | qbs-1.11.tar.gz |
Prevent empty strings in qbsSearchPaths1.11
As QFileInfo::canonicalFilePath might return an empty string, we must
remove all empty strings from the result of makePathsCanonical. All
other search path handling code is not prepared for handling empty
strings.
This fixes
---snip---
SOFT ASSERT: isAbsolute(base, hostOs) && !isCurrentDrivePath(rel, hostOs) in ../../../../master/src/lib/corelib/tools/fileinfo.cpp:192
base: , rel: qbs/base
---snap---
we would get when having a non-existent path in qbsSearchPaths.
Change-Id: I62c3c1054fd762b521005ab8da08b194148428b4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata/multiple-configurations/file.cpp')
0 files changed, 0 insertions, 0 deletions