diff options
author | Kai Koehne <kai.koehne@digia.com> | 2013-02-13 13:21:04 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@digia.com> | 2013-02-14 13:11:55 +0100 |
commit | bf2300a1cd6df4a692e9b19d3c444d0ebe165c9b (patch) | |
tree | a274657f3cfb685ea44faf5c9ef44645a4c2adbe /tools | |
parent | 930a088c78078dd5daf2b3bcd559026f49d0dd96 (diff) |
Don't hard-code version in sources
Change-Id: I1a1f3a22d7360f9a9e8036c76b721aa740e612e9
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/binarycreator/binarycreator.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp index f3777b602..33fd8175a 100644 --- a/tools/binarycreator/binarycreator.cpp +++ b/tools/binarycreator/binarycreator.cpp @@ -173,7 +173,9 @@ Q_UNUSED(settings) plistStream << QLatin1String(" <key>CFBundlePackageType</key>") << endl; plistStream << QLatin1String(" <string>APPL</string>") << endl; plistStream << QLatin1String(" <key>CFBundleGetInfoString</key>") << endl; - plistStream << QLatin1String(" <string>") << QLatin1String(IFW_VERSION_STRING) << ("</string>") << endl; +#define QUOTE_(x) #x +#define QUOTE(x) QUOTE_(x) + plistStream << QLatin1String(" <string>") << QLatin1String(QUOTE(IFW_VERSION)) << ("</string>") << endl; plistStream << QLatin1String(" <key>CFBundleSignature</key>") << endl; plistStream << QLatin1String(" <string> ???? </string>") << endl; plistStream << QLatin1String(" <key>CFBundleExecutable</key>") << endl; |