QNX: Fix mkspec name

Starting with Qt 5.3.0 the mkspec was renamed to "qnx-armle-v7-qcc".

Change-Id: I977c4666ce13cb2f1fb70497a7697b96f64780e0
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
BogDan Vatra
2015-10-09 16:22:50 +03:00
committed by BogDan Vatra
parent 70d3fd8271
commit 987d6aedbf

View File

@@ -331,8 +331,13 @@ Kit *QnxConfiguration::createKit(QnxArchitecture arch,
QmakeProjectManager::QmakeKitInformation::setMkspec( QmakeProjectManager::QmakeKitInformation::setMkspec(
kit, FileName::fromLatin1("qnx-x86-qcc")); kit, FileName::fromLatin1("qnx-x86-qcc"));
} else { } else {
QmakeProjectManager::QmakeKitInformation::setMkspec( if (qnxQt->qtVersion() >= QtVersionNumber(5, 3, 0)) {
kit, FileName::fromLatin1("qnx-armv7le-qcc")); QmakeProjectManager::QmakeKitInformation::setMkspec(
kit, FileName::fromLatin1("qnx-armle-v7-qcc"));
} else {
QmakeProjectManager::QmakeKitInformation::setMkspec(
kit, FileName::fromLatin1("qnx-armv7le-qcc"));
}
} }
DeviceTypeKitInformation::setDeviceTypeId(kit, Constants::QNX_QNX_OS_TYPE); DeviceTypeKitInformation::setDeviceTypeId(kit, Constants::QNX_QNX_OS_TYPE);