diff options
Diffstat (limited to 'src/lib/corelib/tools/msvcinfo.h')
-rw-r--r-- | src/lib/corelib/tools/msvcinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/tools/msvcinfo.h b/src/lib/corelib/tools/msvcinfo.h index 61c70fc4a..aa0800aaa 100644 --- a/src/lib/corelib/tools/msvcinfo.h +++ b/src/lib/corelib/tools/msvcinfo.h @@ -75,6 +75,7 @@ public: MSVC(const QString &clPath) { QDir parentDir = QFileInfo(clPath).dir(); + binPath = parentDir.absolutePath(); QString parentDirName = parentDir.dirName().toLower(); if (parentDirName == QLatin1String("bin")) parentDirName = QStringLiteral("x86"); @@ -82,7 +83,6 @@ public: parentDir.cdUp(); architecture = parentDirName; vcInstallPath = parentDir.path(); - binPath = vcInstallPath; } QBS_EXPORT void init(); |