aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/app_version.h.in
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2011-11-23 16:56:50 +0100
committerEike Ziller <eike.ziller@nokia.com>2011-12-16 08:48:31 +0100
commit8cc3844038ebf225f723b8f4c3dc1aa44c6e1bc8 (patch)
treeaa1eb98007c311c42bc5ab572a62d379147d6913 /src/app/app_version.h.in
parent6210b0578e204eac5b9b02e6aba3e8cce2b642e8 (diff)
Allow build to specify different settings path.
Task-number: QTCREATORBUG-5509 Change-Id: I4541049a1861e83f55106effc536fd50eb233d97 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Diffstat (limited to 'src/app/app_version.h.in')
-rw-r--r--src/app/app_version.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/app_version.h.in b/src/app/app_version.h.in
index 222c97ec85..04d9575a52 100644
--- a/src/app/app_version.h.in
+++ b/src/app/app_version.h.in
@@ -62,6 +62,13 @@ const char * const IDE_REVISION_STR = STRINGIFY(IDE_REVISION);
const char * const IDE_REVISION_STR = \"\";
#endif
+// changes the path where the settings are saved to
+#ifdef IDE_SETTINGSVARIANT
+const char * const IDE_SETTINGSVARIANT_STR = STRINGIFY(IDE_SETTINGSVARIANT);
+#else
+const char * const IDE_SETTINGSVARIANT_STR = \"Nokia\";
+#endif
+
#undef IDE_VERSION
#undef IDE_VERSION_STR
#undef STRINGIFY