forked from qt-creator/qt-creator
Fix minimum windows version detection
Change-Id: Idba2e5ec81bae1572e6ed8f89055e8bf1ab41ba1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
committed by
Joerg Bornemann
parent
65cd8ea4c2
commit
b45f3ae43d
@@ -150,6 +150,12 @@ void QbsManager::addQtProfileFromKit(const QString &profileName, const ProjectEx
|
||||
return;
|
||||
|
||||
qbs::QtEnvironment qtEnv;
|
||||
const QList<ProjectExplorer::Abi> abi = qt->qtAbis();
|
||||
if (!abi.empty()) {
|
||||
qtEnv.architecture = ProjectExplorer::Abi::toString(abi.first().architecture());
|
||||
if (abi.first().wordWidth() == 64)
|
||||
qtEnv.architecture.append(QLatin1String("_64"));
|
||||
}
|
||||
qtEnv.binaryPath = qt->binPath().toString();
|
||||
if (qt->hasDebugBuild())
|
||||
qtEnv.buildVariant << QLatin1String("debug");
|
||||
|
||||
Reference in New Issue
Block a user