Qnx: Fix C++ debugging

Task-number: QTCREATORBUG-17901
Change-Id: Iab7dfa3eb9a211770e45405f344d75ff20e8acae
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-09-29 12:25:43 +02:00
parent af8cd2b633
commit 5baecec6b7
2 changed files with 4 additions and 2 deletions

View File

@@ -62,5 +62,5 @@ Android
QNX
* Fixed debugging (QTCREATORBUG-18804)
* Fixed debugging (QTCREATORBUG-18804, QTCREATORBUG-17901)
* Fixed QML profiler startup (QTCREATORBUG-18954)

View File

@@ -134,8 +134,10 @@ void QnxDebugSupport::start()
}
auto qtVersion = dynamic_cast<QnxQtVersion *>(QtSupport::QtKitInformation::qtVersion(k));
if (qtVersion)
if (qtVersion) {
params.solibSearchPath = QnxUtils::searchPaths(qtVersion);
params.sysRoot = qtVersion->qnxTarget();
}
setStartParameters(params);