summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-09-22 13:01:02 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-09-22 13:03:31 (GMT)
commit8eed664a8d23d7f61ed0dc8c4a3647384fe3f5f8 (patch)
tree97db688ea5348cac6df15fe9ade7c3bc00b2f395
parentd52e4462652c925a293a22c2880392e0458735bc (diff)
downloadQt-8eed664a8d23d7f61ed0dc8c4a3647384fe3f5f8.zip
Qt-8eed664a8d23d7f61ed0dc8c4a3647384fe3f5f8.tar.gz
Qt-8eed664a8d23d7f61ed0dc8c4a3647384fe3f5f8.tar.bz2
Adding C++0x support to MSVC2010
Reviewed-by: olivier
-rw-r--r--src/corelib/global/qglobal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 02196e4..b0a24b0 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -400,6 +400,19 @@ namespace QT_NAMESPACE {}
# undef QT_HAVE_3DNOW
# endif
+#if defined(Q_CC_MSVC) && _MSC_VER >= 1600
+# define Q_COMPILER_RVALUE_REFS
+# define Q_COMPILER_INITIALIZER_LISTS
+# define Q_COMPILER_AUTO_TYPE
+# define Q_COMPILER_LAMBDA
+//# define Q_COMPILER_VARIADIC_TEMPLATES
+//# define Q_COMPILER_CLASS_ENUM
+//# define Q_COMPILER_DEFAULT_DELETE_MEMBERS
+//# define Q_COMPILER_UNICODE_STRINGS
+//# define Q_COMPILER_EXTERN_TEMPLATES
+# endif
+
+
#elif defined(__BORLANDC__) || defined(__TURBOC__)
# define Q_CC_BOR
# define Q_INLINE_TEMPLATE