tst_macdeplyqt: unbreak runVerifyDeployment()
Amends f2f8820073488c89fb71e3eb2d2e87bb582c3995. I have no idea how this went through the CI, but assigning to a const variable cannot possibly compile. Reported-by: Axel Spoerl <axel.spoerl@qt.io> Task-nubmber: QTBUG-115839 Change-Id: I0f22dcd5ab691f92880ea3c6446aedca53df0721 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit c0a38066095b3ed28281391e75c251709f875f53) Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
0603c8be97
commit
6c9cba45ca
@ -200,10 +200,10 @@ void runVerifyDeployment(const QString &name)
|
||||
const QString qtPath = QLibraryInfo::path(QLibraryInfo::PrefixPath);
|
||||
// Let assume Qt is not installed in system
|
||||
for (const QString &part : parts) {
|
||||
part = part.trimmed();
|
||||
if (part.isEmpty())
|
||||
const auto trimmed = part.trimmed();
|
||||
if (trimmed.isEmpty())
|
||||
continue;
|
||||
QVERIFY(!part.startsWith(qtPath));
|
||||
QVERIFY(!trimmed.startsWith(qtPath));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user