forked from qt-creator/qt-creator
QbsProjectManager: Fix typo in toolchain setup code
This lead to weird behavior regarding compiler name and toolchain prefix. Task-number: QBS-1022 Change-Id: I10abfb22ee71aed6ec5ebc6b3eb477536c86f717 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
@@ -242,7 +242,7 @@ QVariantMap DefaultPropertyProvider::autoGeneratedProperties(const ProjectExplor
|
|||||||
QString cCompilerName = cFileInfo.fileName();
|
QString cCompilerName = cFileInfo.fileName();
|
||||||
QString cxxCompilerName = cxxFileInfo.fileName();
|
QString cxxCompilerName = cxxFileInfo.fileName();
|
||||||
const QString cToolchainPrefix = extractToolchainPrefix(&cCompilerName);
|
const QString cToolchainPrefix = extractToolchainPrefix(&cCompilerName);
|
||||||
const QString cxxToolchainPrefix = extractToolchainPrefix(&cCompilerName);
|
const QString cxxToolchainPrefix = extractToolchainPrefix(&cxxCompilerName);
|
||||||
|
|
||||||
QFileInfo mainFileInfo;
|
QFileInfo mainFileInfo;
|
||||||
QString mainCompilerName;
|
QString mainCompilerName;
|
||||||
|
|||||||
Reference in New Issue
Block a user