Commit d37ee4d1 authored by Tobias Nätterlund's avatar Tobias Nätterlund Committed by Nicolas Arnaud-Cormos
Browse files

QNX: Add bar-descriptor.xml to new project, and make sure it shows up in project tree



Change-Id: I41bc5f442977669120cf6b8a315d7bcf481b7f9d
Reviewed-by: default avatarMehdi Fekari <mfekari@rim.com>
Reviewed-by: Nicolas Arnaud-Cormos's avatarNicolas Arnaud-Cormos <nicolas@kdab.com>
parent 5a10ad80
......@@ -77,6 +77,8 @@ void BlackBerryDeployConfiguration::ctor()
target()->project()->setNamedSettings(QLatin1String(DEPLOYMENT_INFO_SETTING), data);
}
connect(target()->project(), SIGNAL(proFilesEvaluated()), this, SLOT(setupBarDescriptor()), Qt::UniqueConnection);
setDefaultDisplayName(tr("Deploy to BlackBerry Device"));
}
......
......@@ -61,9 +61,11 @@ public:
protected:
BlackBerryDeployConfiguration(ProjectExplorer::Target *parent, BlackBerryDeployConfiguration *source);
private slots:
void setupBarDescriptor();
private:
void ctor();
void setupBarDescriptor();
void addBarDescriptorToProject(const QString& barDescriptorPath);
};
......
......@@ -92,7 +92,6 @@ ProjectExplorer::DeployConfiguration *BlackBerryDeployConfigurationFactory::crea
return 0;
BlackBerryDeployConfiguration *dc = new BlackBerryDeployConfiguration(parent);
dc->setupBarDescriptor();
dc->stepList()->insertStep(0, new BlackBerryCreatePackageStep(dc->stepList()));
dc->stepList()->insertStep(1, new BlackBerryDeployStep(dc->stepList()));
return dc;
......
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