Android: Debugger: Avoid warning regarding release build

This is just a workaround to avoid the warning of having a release
build although building debug. In practice the validation should
be done on the main library instead of the app_process of an
Android executable.

Change-Id: I4fe4ccc790d9e373a11f851c8216362188a97b85
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-03-31 07:55:00 +02:00
committed by hjk
parent 1d0582ecdb
commit 3dc6510d34
3 changed files with 7 additions and 0 deletions

View File

@@ -1793,6 +1793,8 @@ void DebuggerEngine::setStateDebugging(bool on)
void DebuggerEngine::validateExecutable(DebuggerStartParameters *sp)
{
if (sp->skipExecutableValidation)
return;
if (sp->languages == QmlLanguage)
return;
QString binary = sp->executable;