summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/testdata/multiple-configurations/file.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2018-04-25 11:40:05 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2018-05-08 05:14:05 +0000
commitc4e4bb9604a884ca5966ebab19e510a1966f798a (patch)
tree85aa8cd95a41b611dfd56d7cb574b471109d2b8a /tests/auto/blackbox/testdata/multiple-configurations/file.cpp
parentf58f1b0b4e1b417c7f32b08ad59ad4b67f5f4e3a (diff)
downloadqbs-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