summaryrefslogtreecommitdiff
path: root/src/plugins/qnx/qnxconstants.h
diff options
context:
space:
mode:
authorTobias Nätterlund <tobias.naetterlund.qnx@kdab.com>2013-03-12 09:23:08 +0100
committerTobias Nätterlund <tobias.naetterlund@kdab.com>2013-03-25 09:12:24 +0100
commite72d41cb1e84fd1b804363be4e22a584e738da43 (patch)
tree70ab1f6ded3d1f254d99615324c2888c4b8ec8f8 /src/plugins/qnx/qnxconstants.h
parent3e373927c521dc44ced11765799497afa534fc31 (diff)
downloadqt-creator-e72d41cb1e84fd1b804363be4e22a584e738da43.tar.gz
QNX: Abort deployment if device is not in Development Mode
This adds a new deploy step (BlackBerryCheckDevModeStep), which checks for Development Mode being set on the device. If not set, the deployment stops early on in the process. Without this step, the deployment would not fail until after uploading the package. Moved blackberry-deploy into a constant, as it's used in multiple places by now. Change-Id: I813754108fb4be281e752b12ac56d4f0b302077d Reviewed-by: Mehdi Fekari <mfekari@rim.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Diffstat (limited to 'src/plugins/qnx/qnxconstants.h')
-rw-r--r--src/plugins/qnx/qnxconstants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/qnx/qnxconstants.h b/src/plugins/qnx/qnxconstants.h
index 54c4dba4d5..76c5713ed7 100644
--- a/src/plugins/qnx/qnxconstants.h
+++ b/src/plugins/qnx/qnxconstants.h
@@ -69,6 +69,7 @@ const char QNX_QNX_RUNCONFIGURATION_PREFIX[] = "Qt4ProjectManager.QNX.QNXRunConf
const char QNX_CREATE_PACKAGE_BS_ID[] = "Qt4ProjectManager.QnxCreatePackageBuildStep";
const char QNX_DEPLOY_PACKAGE_BS_ID[] = "Qt4ProjectManager.QnxDeployPackageBuildStep";
+const char QNX_CHECK_DEVELOPMENT_MODE_BS_ID[] = "Qt4ProjectManager.QnxCheckDevelopmentModeBuildStep";
const char QNX_PROFILEPATH_KEY[] = "Qt4ProjectManager.QnxRunConfiguration.ProFilePath";
@@ -103,6 +104,9 @@ const char QNX_TASK_CATEGORY_BARDESCRIPTOR[] = "Task.Category.BarDescriptor";
const char QNX_KEY_AUTHOR[] = "author";
const char QNX_KEY_PATH[] = "path";
const char QNX_KEY_ACTIVE[] = "active";
+
+const char QNX_BLACKBERRY_DEPLOY_CMD[] = "blackberry-deploy";
+
} // namespace Constants
} // namespace Qnx