Commit a1dbe9a3 authored by Aurindam Jana's avatar Aurindam Jana Committed by Kai Koehne
Browse files

QML Debugging: Qt Quick 2 Application Wizard

QML debugging is enabled by default for applications
created with the Qt Quick 2 application wizard.

Task-number: QTCREATORBUG-8208
Change-Id: I1869649ce88c35e2d8d4a6677b1d257f7454f223
Reviewed-by: default avatarKai Koehne <>
parent a9907960
......@@ -158,9 +158,15 @@ bool DebuggerRunConfigurationAspect::useCppDebugger() const
static bool isQtQuickAppProject(Project *project)
const QString filePath = project->projectDirectory()
const QString projectDirectory = project->projectDirectory();
// Qt Quick 1 wizard generated file
const QString qq1FilePath = projectDirectory
+ QLatin1String("/qmlapplicationviewer/qmlapplicationviewer.pri");
return project->files(Project::ExcludeGeneratedFiles).contains(filePath);
// Qt Quick 2 wizard generated file
const QString qq2FilePath = projectDirectory
+ QLatin1String("/qtquick2applicationviewer/qtquick2applicationviewer.pri");
const QStringList projectFiles = project->files(Project::ExcludeGeneratedFiles);
return projectFiles.contains(qq1FilePath) || projectFiles.contains(qq2FilePath);
bool DebuggerRunConfigurationAspect::useQmlDebugger() const
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