summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt4target.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-03-23 18:54:04 +0100
committercon <qtc-committer@nokia.com>2010-03-25 16:35:50 +0100
commit8b2c18a762faf7e819c96f80292d1cac95b59215 (patch)
tree89147a36323c69a2167bc2959aa9ed5b8a5e9b96 /src/plugins/qt4projectmanager/qt4target.cpp
parenta723e53357cab6c918a3c048b6c4824fe42308f6 (diff)
downloadqt-creator-8b2c18a762faf7e819c96f80292d1cac95b59215.tar.gz
Auto-add signing step for new symbian build configurations.
Diffstat (limited to 'src/plugins/qt4projectmanager/qt4target.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qt4target.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/qt4projectmanager/qt4target.cpp b/src/plugins/qt4projectmanager/qt4target.cpp
index acc3e3e581..a0cab26ef2 100644
--- a/src/plugins/qt4projectmanager/qt4target.cpp
+++ b/src/plugins/qt4projectmanager/qt4target.cpp
@@ -38,6 +38,7 @@
#include "qt-maemo/maemorunconfiguration.h"
#include "qt-s60/s60devicerunconfiguration.h"
#include "qt-s60/s60emulatorrunconfiguration.h"
+#include "qt-s60/s60createpackagestep.h"
#include <projectexplorer/toolchain.h>
#include <coreplugin/coreconstants.h>
@@ -249,6 +250,11 @@ Qt4BuildConfiguration *Qt4Target::addQt4BuildConfiguration(QString displayName,
MakeStep *makeStep = new MakeStep(bc);
bc->insertStep(ProjectExplorer::Build, 1, makeStep);
+ if (id() == Constants::S60_DEVICE_TARGET_ID) {
+ S60CreatePackageStep *packageStep = new S60CreatePackageStep(bc);
+ bc->insertStep(ProjectExplorer::Build, 2, packageStep);
+ }
+
MakeStep* cleanStep = new MakeStep(bc);
cleanStep->setClean(true);
cleanStep->setUserArguments(QStringList() << "clean");