summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/qtcreator_constants.h
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@nokia.com>2011-07-08 15:33:28 +0200
committerMaurice Kalinowski <maurice.kalinowski@nokia.com>2011-07-11 13:34:50 +0200
commit41d727808d03f63c341e8fe06d15eaefc5aa5925 (patch)
tree953c31d517cad75f98a5ce476feb891c7c30d9e2 /installerbuilder/libinstaller/qtcreator_constants.h
parentf1ed82841df9a1760be740a14aa58c077aa51feb (diff)
introduce qt version registration for creator 2.3
yet another method to register a qt version to Qt Creator, this time for Qt Creator 2.3. The design is tailored towards SDK needs this time, hence it should stay like this for a while Reviewed-by: kh1
Diffstat (limited to 'installerbuilder/libinstaller/qtcreator_constants.h')
-rw-r--r--installerbuilder/libinstaller/qtcreator_constants.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/installerbuilder/libinstaller/qtcreator_constants.h b/installerbuilder/libinstaller/qtcreator_constants.h
index 907a6e331..8389b1bd3 100644
--- a/installerbuilder/libinstaller/qtcreator_constants.h
+++ b/installerbuilder/libinstaller/qtcreator_constants.h
@@ -17,7 +17,15 @@
"/QtCreator/share/qtcreator/Nokia/toolChains.xml";
#endif
-//Begin - copied from Creator src\plugins\projectexplorer\toolchainmanager.cpp
+#if defined ( Q_OS_MAC )
+ static const char *const QtVersionSettingsSuffixPath =
+ "/Qt Creator.app/Contents/Resources/Nokia/qtversion.xml";
+#else
+ static const char *const QtVersionSettingsSuffixPath =
+ "/QtCreator/share/qtcreator/Nokia/qtversion.xml";
+#endif
+
+ //Begin - copied from Creator src\plugins\projectexplorer\toolchainmanager.cpp
static const char *const TOOLCHAIN_DATA_KEY = "ToolChain.";
static const char *const TOOLCHAIN_COUNT_KEY = "ToolChain.Count";
static const char *const TOOLCHAIN_FILE_VERSION_KEY = "Version";