Maemo: Introduce dedicated Fremantle and Harmattan targets.

Task-number: QTCREATORBUG-2770
This commit is contained in:
Christian Kandeler
2011-01-18 15:20:57 +01:00
parent 45e69d2e2a
commit f0a54abf6b
40 changed files with 482 additions and 212 deletions

View File

@@ -35,6 +35,8 @@
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/target.h>
#include <qt4projectmanager/qt4projectmanagerconstants.h>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;
@@ -48,8 +50,10 @@ ProjectExplorer::DeployConfiguration *Qt4MaemoDeployConfigurationFactory::create
if (!dc)
return 0;
dc->setDefaultDisplayName(tr("Deploy to Maemo device"));
if (parent->id() == QLatin1String(Constants::MAEMO5_DEVICE_TARGET_ID))
dc->setDefaultDisplayName(tr("Deploy to Maemo5 device"));
if (parent->id() == QLatin1String(Constants::HARMATTAN_DEVICE_TARGET_ID))
dc->setDefaultDisplayName(tr("Deploy to Harmattan device"));
dc->stepList()->insertStep(0, new MaemoPackageCreationStep(dc->stepList()));
dc->stepList()->insertStep(1, new MaemoDeployStep(dc->stepList()));