Commit 113841a1 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

qmake: skip empty parts when splitting strings in some more places


... and make it explicit where we can't do that for semantical or
backwards compat reasons.

most urgently, this fixes an assertion failure when $QMAKEFEATURES
contains empty paths (e.g., due to a trailing semicolon).

notable observation: QByteArray::split() has no argument for the split
behavior (it always keeps empty parts).

Task-number: QTBUG-47325
Change-Id: I72d4b2e154a2ed1802cfa98fb4a5211a68e43231
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from qtbase/7c87ffff9aa62883bf61efe1bf27704d479eace5)
Reviewed-by: default avatarTor Arne Vestbø <tor.arne.vestbo@qt.io>
Showing with 10 additions and 6 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment