Skip to content
Snippets Groups Projects
Commit de100a4a authored by Kai Koehne's avatar Kai Koehne
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -216,6 +216,11 @@ RunControl *QmlProjectRunControlFactory::createDebugRunControl(QmlProjectRunConf ...@@ -216,6 +216,11 @@ RunControl *QmlProjectRunControlFactory::createDebugRunControl(QmlProjectRunConf
params.displayName = runConfig->displayName(); params.displayName = runConfig->displayName();
params.projectSourceDirectory = runConfig->target()->project()->projectDirectory(); params.projectSourceDirectory = runConfig->target()->project()->projectDirectory();
params.projectSourceFiles = runConfig->target()->project()->files(Project::ExcludeGeneratedFiles); 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()) if (!runConfig->qtVersion()->qtAbis().isEmpty())
params.toolChainAbi = runConfig->qtVersion()->qtAbis().first(); params.toolChainAbi = runConfig->qtVersion()->qtAbis().first();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment