Commit b5edda3c authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlDump: Don't try to build if it can't succeed.

Fixes trying to build qmldump for device Qt versions and removes the
follow-up warning about it not being possible.

Task-number: QTCREATORBUG-3046
Reviewed-by: Lasse Holmstedt
Reviewed-by: Kai Koehne
parent 0b2db612
......@@ -279,7 +279,7 @@ void QmlDumpTool::pathAndEnvironment(ProjectExplorer::Project *project, QString
path = Qt4ProjectManager::QmlDumpTool::toolForProject(project);
QtVersion *version = qtVersionForProject(project);
if (version && path.isEmpty()) {
if (version && path.isEmpty() && QmlDumpTool::canBuild(version)) {
QmlDumpBuildTask *qmlDumpBuildTask = qmlDumpBuilds()->value(version->uniqueId());
if (qmlDumpBuildTask) {
if (!qmlDumpBuildTask->hasFailed())
......
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