Fixed detection of QNX gdb for NDK 2.0

Change-Id: Ibf62cd0812eb113bec1ff49dec6d0017f57ccabf
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Tobias Nätterlund
2012-02-15 14:39:47 +01:00
committed by hjk
parent 0f073e4a35
commit 08e9329502

View File

@@ -433,7 +433,7 @@ void extractGdbVersion(const QString &msg,
}
*isMacGdb = msg.contains(QLatin1String("Apple version"));
*isQnxGdb = msg.contains(QLatin1String("qnx-nto"));
*isQnxGdb = msg.contains(QLatin1String("qnx"));
*gdbVersion = 10000 * cleaned.section(dot, 0, 0).toInt()
+ 100 * cleaned.section(dot, 1, 1).toInt()