summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/symbian/symbianincludes.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2011-01-20 10:41:11 +0100
committeraxis <qt-info@nokia.com>2011-01-27 14:26:04 +0100
commit8ee75222533fd5be30f9f21d609a9595519d5b94 (patch)
treedebb565b57f7fae7a3d90265d4a9bbd7ac5c88f6 /mkspecs/common/symbian/symbianincludes.h
parentf5a618d86395f35ced1b847581e48994e9196a32 (diff)
Added Symbian deployment localization for makefile build system.
This is a complement to the 16575f7aef840b6aae0dc767468ab713fbcfd7a6 commit, which adds localization based on TRANSLATIONS keywords for Raptor and abld. In addition, since the __PRODUCT_INCLUDE__ define was creating a lot of trouble regarding < and >, it was refactored into its own source file, which is automatically included before every source file. Task: QTBUG-15292 RevBy: Miikka Heikkinen
Diffstat (limited to 'mkspecs/common/symbian/symbianincludes.h')
-rw-r--r--mkspecs/common/symbian/symbianincludes.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/mkspecs/common/symbian/symbianincludes.h b/mkspecs/common/symbian/symbianincludes.h
new file mode 100644
index 0000000000..4c0ffa6c6f
--- /dev/null
+++ b/mkspecs/common/symbian/symbianincludes.h
@@ -0,0 +1,17 @@
+#ifndef __PRODUCT_INCLUDE__
+# ifdef __QT_PRODUCT_INCLUDE_IS_LOWERCASE__
+# define __PRODUCT_INCLUDE__ <variant/symbian_os.hrh>
+# else
+# define __PRODUCT_INCLUDE__ <variant/Symbian_OS.hrh>
+# endif
+#endif
+
+#ifndef __QT_SYMBIAN_RESOURCE__
+# if defined(__ARMCC__) || defined(__CC_ARM)
+# ifdef __QT_RVCT_HEADER_IS_2_2__
+# include <rvct2_2.h>
+# else
+# include <rvct.h>
+# endif
+# endif
+#endif