diff options
author | Tim Jenssen <tim.jenssen@nokia.com> | 2011-05-11 20:00:29 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2011-05-11 20:00:29 +0200 |
commit | 83fb4bc8b2573765a47ef6c5eb7058e17a7415e4 (patch) | |
tree | 791171750bd7821b92becd6d41e859cbeff78ed8 /installerbuilder/libinstaller/qtcreator_constants.h | |
parent | 151df9ebb2bd8d4e1e20e5555a1d9c8af8881af6 (diff) |
moved some creator constants to an extra file
Diffstat (limited to 'installerbuilder/libinstaller/qtcreator_constants.h')
-rw-r--r-- | installerbuilder/libinstaller/qtcreator_constants.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/installerbuilder/libinstaller/qtcreator_constants.h b/installerbuilder/libinstaller/qtcreator_constants.h new file mode 100644 index 000000000..2aa2888de --- /dev/null +++ b/installerbuilder/libinstaller/qtcreator_constants.h @@ -0,0 +1,30 @@ +#ifndef QTCREATOR_CONSTANTS_H +#define QTCREATOR_CONSTANTS_H + + +#if defined ( Q_OS_MAC ) + static const char *QtCreatorSettingsSuffixPath = + "/Qt Creator.app/Contents/Resources/Nokia/QtCreator.ini"; +#else + static const char *QtCreatorSettingsSuffixPath = + "/QtCreator/share/qtcreator/Nokia/QtCreator.ini"; +#endif + +#if defined ( Q_OS_MAC ) + static const char *ToolChainSettingsSuffixPath = + "/Qt Creator.app/Contents/Resources/Nokia/toolChains.xml"; +#else + static const char *ToolChainSettingsSuffixPath = + "/QtCreator/share/qtcreator/Nokia/toolChains.xml"; +#endif + +//Begin - copied from Creator +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"; + +static const char *const ID_KEY = "ProjectExplorer.ToolChain.Id"; +static const char *const DISPLAY_NAME_KEY = "ProjectExplorer.ToolChain.DisplayName"; +//End - copied from Creator + +#endif //QTCREATOR_CONSTANTS_H |