tst_macdeplyqt: unbreak runVerifyDeployment()
Amends f2f8820073.
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>
Pick-to: 6.6 6.5
Task-nubmber: QTBUG-115839
Change-Id: I0f22dcd5ab691f92880ea3c6446aedca53df0721
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
c27798da2f
commit
c0a3806609
|
|
@ -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…
Reference in New Issue