tst_qmetatype: avoid slow compilation with some MSVC2010
authorRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 23 May 2012 02:53:57 +0000 (12:53 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 May 2012 05:14:40 +0000 (07:14 +0200)
commit0a298ab4855703675767a4d51c63dce4546a50b6
treebbccc699261bf61e942ffa30b0112bb37a27b59c
parent0a290318fbd0e34a9d97922c75f350c326c24930
tst_qmetatype: avoid slow compilation with some MSVC2010

MSVC2010 32-bit (with and without service pack 1) takes about 1 hour to
compile this file in some builds, since
1c7421ad14f9321422cdfeede3902552a34ccf3b.

Avoid the relevant portion of the code just for these compilers.

Change-Id: Icbb4fa12a6d563a7cdc882c30cdb5705675bedb0
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp