aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-12-11 13:49:29 +0100
committerhjk <hjk@qt.io>2019-12-11 14:07:40 +0000
commitc654677bf729369e184f6ef801e2cc4407ed7c40 (patch)
treed89011b7f4ea7fdc6f2e9934977377d4385add95 /src/plugins/qnx
parent97edfa7b583f0758d2f3eaa5e2d96a48af5808ec (diff)
Standardize RunConfiguration id specification
Use the cheapest of all patterns used so far, they are only used exactly once. Normalizing the id values to a common patters is not as simple as they are stored in .user files. Change-Id: Ib4d037a88a7a5ca2ea94dfb3933d17122c89240f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qnx')
-rw-r--r--src/plugins/qnx/qnxconstants.h2
-rw-r--r--src/plugins/qnx/qnxrunconfiguration.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/qnx/qnxconstants.h b/src/plugins/qnx/qnxconstants.h
index 05c5a17618..5daf09b06b 100644
--- a/src/plugins/qnx/qnxconstants.h
+++ b/src/plugins/qnx/qnxconstants.h
@@ -37,8 +37,6 @@ const char QNX_QNX_QT[] = "Qt4ProjectManager.QtVersion.QNX.QNX";
const char QNX_QNX_FEATURE[] = "QtSupport.Wizards.FeatureQNX";
-const char QNX_QNX_RUNCONFIGURATION_PREFIX[] = "Qt4ProjectManager.QNX.QNXRunConfiguration.";
-
const char QNX_QNX_DEPLOYCONFIGURATION_ID[] = "Qt4ProjectManager.QNX.QNXDeployConfiguration";
const char QNX_QNX_OS_TYPE[] = "QnxOsType"; // Also used for device type.
diff --git a/src/plugins/qnx/qnxrunconfiguration.cpp b/src/plugins/qnx/qnxrunconfiguration.cpp
index e1726b42ed..9e9707cbfc 100644
--- a/src/plugins/qnx/qnxrunconfiguration.cpp
+++ b/src/plugins/qnx/qnxrunconfiguration.cpp
@@ -102,7 +102,7 @@ Runnable QnxRunConfiguration::runnable() const
QnxRunConfigurationFactory::QnxRunConfigurationFactory()
{
- registerRunConfiguration<QnxRunConfiguration>(Constants::QNX_QNX_RUNCONFIGURATION_PREFIX);
+ registerRunConfiguration<QnxRunConfiguration>("Qt4ProjectManager.QNX.QNXRunConfiguration.");
addSupportedTargetDeviceType(Constants::QNX_QNX_OS_TYPE);
}