From 8219188738ebdfaffc75b3d7363e8f423e1f4def Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 23 Jun 2016 09:32:32 +0200 Subject: [PATCH] AutoTest: Disable QmlDebugger for debugging tests Currently debugging tests is enabled only for C++ based projects and starting QmlDebugger although not needed feels wrong and results additionally in a fail message which might be confusing for users. Change-Id: I1f62b67ea6d3d8bb56d9723ea1132257d0b96b9b Reviewed-by: David Schulz --- src/plugins/autotest/testrunconfiguration.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plugins/autotest/testrunconfiguration.h b/src/plugins/autotest/testrunconfiguration.h index 1ed3d2b0eea..57876c66caa 100644 --- a/src/plugins/autotest/testrunconfiguration.h +++ b/src/plugins/autotest/testrunconfiguration.h @@ -34,6 +34,7 @@ #include #include #include +#include namespace Autotest { namespace Internal { @@ -46,6 +47,11 @@ public: { setDefaultDisplayName(tr("AutoTest Debug")); addExtraAspects(); + + // disable QmlDebugger that is enabled by default + // might change if debugging QuickTest gets enabled + if (auto debugAspect = extraAspect()) + debugAspect->setUseQmlDebugger(false); m_testConfig = config; }