forked from qt-creator/qt-creator
Fix debug on Android 6+ with NDK r11+
Task-number: QTCREATORBUG-16721 Change-Id: Ic65f13076794b75d6e4551b68d26fd3752f82098 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -384,7 +384,8 @@ static DebuggerRunControl *doCreate(DebuggerRunParameters rp, RunConfiguration *
|
||||
rp.nativeMixedEnabled = bool(nativeMixedOverride);
|
||||
|
||||
rp.cppEngineType = DebuggerKitInformation::engineType(kit);
|
||||
rp.sysRoot = SysRootKitInformation::sysRoot(kit).toString();
|
||||
if (rp.sysRoot.isEmpty())
|
||||
rp.sysRoot = SysRootKitInformation::sysRoot(kit).toString();
|
||||
rp.debuggerCommand = DebuggerKitInformation::debuggerCommand(kit).toString();
|
||||
rp.device = DeviceKitInformation::device(kit);
|
||||
|
||||
|
Reference in New Issue
Block a user