Commit de100a4a authored by Kai Koehne's avatar Kai Koehne

QmlProject: Fix debugging

Don't always use the mixed engine for debugging of .qmlprojects.
This is a regression from fix fe8cead2.

Change-Id: I589cb0610d40edc4fbd29897374d83504e574cb5
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 0f703ea0
......@@ -216,6 +216,11 @@ RunControl *QmlProjectRunControlFactory::createDebugRunControl(QmlProjectRunConf
params.displayName = runConfig->displayName();
params.projectSourceDirectory = runConfig->target()->project()->projectDirectory();
params.projectSourceFiles = runConfig->target()->project()->files(Project::ExcludeGeneratedFiles);
if (runConfig->useQmlDebugger())
params.languages |= Debugger::QmlLanguage;
if (runConfig->useCppDebugger())
params.languages |= Debugger::CppLanguage;
if (!runConfig->qtVersion()->qtAbis().isEmpty())
params.toolChainAbi = runConfig->qtVersion()->qtAbis().first();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment