Commit 987d6aed authored by BogDan Vatra's avatar BogDan Vatra Committed by BogDan Vatra

QNX: Fix mkspec name

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

Change-Id: I977c4666ce13cb2f1fb70497a7697b96f64780e0
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 70d3fd82
......@@ -331,8 +331,13 @@ Kit *QnxConfiguration::createKit(QnxArchitecture arch,
QmakeProjectManager::QmakeKitInformation::setMkspec(
kit, FileName::fromLatin1("qnx-x86-qcc"));
} else {
QmakeProjectManager::QmakeKitInformation::setMkspec(
kit, FileName::fromLatin1("qnx-armv7le-qcc"));
if (qnxQt->qtVersion() >= QtVersionNumber(5, 3, 0)) {
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment