AndroidRunConfiguration: Take .pro file parsing into account

Disable the runconfiguration if the project could not be parsed.

Change-Id: I979315b5e38fd1d8674da68289e021e014070c54
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Daniel Teske
2013-10-09 16:25:57 +02:00
parent 0a43f097de
commit a97dd8aba6
3 changed files with 72 additions and 1 deletions

View File

@@ -94,7 +94,7 @@ QList<Core::Id> AndroidRunConfigurationFactory::availableCreationIds(Target *par
const Core::Id base = Core::Id(ANDROID_RC_ID_PREFIX);
foreach (Qt4ProFileNode *node, nodes)
if (node->projectType() == ApplicationTemplate || node->projectType() == LibraryTemplate)
ids << base.withSuffix(node->targetInformation().target);
ids << base.withSuffix(node->path());
return ids;
}