From bf2300a1cd6df4a692e9b19d3c444d0ebe165c9b Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 13 Feb 2013 13:21:04 +0100 Subject: Don't hard-code version in sources Change-Id: I1a1f3a22d7360f9a9e8036c76b721aa740e612e9 Reviewed-by: Niels Weber Reviewed-by: Karsten Heimrich --- tools/binarycreator/binarycreator.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') 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(" CFBundlePackageType") << endl; plistStream << QLatin1String(" APPL") << endl; plistStream << QLatin1String(" CFBundleGetInfoString") << endl; - plistStream << QLatin1String(" ") << QLatin1String(IFW_VERSION_STRING) << ("") << endl; +#define QUOTE_(x) #x +#define QUOTE(x) QUOTE_(x) + plistStream << QLatin1String(" ") << QLatin1String(QUOTE(IFW_VERSION)) << ("") << endl; plistStream << QLatin1String(" CFBundleSignature") << endl; plistStream << QLatin1String(" ???? ") << endl; plistStream << QLatin1String(" CFBundleExecutable") << endl; -- cgit v1.2.3