forked from qt-creator/qt-creator
Fixes: correctly read mkspec
RevBy: dt
This commit is contained in:
@@ -1075,7 +1075,7 @@ void QtVersion::updateMkSpec() const
|
|||||||
if (line.startsWith("QMAKESPEC_ORIGINAL")) {
|
if (line.startsWith("QMAKESPEC_ORIGINAL")) {
|
||||||
const QList<QByteArray> &temp = line.split('=');
|
const QList<QByteArray> &temp = line.split('=');
|
||||||
if (temp.size() == 2) {
|
if (temp.size() == 2) {
|
||||||
mkspec = temp.at(1);
|
mkspec = temp.at(1).trimmed();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user