summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2011-10-20 11:18:48 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-24 15:39:33 +0200
commit642fe4040b3b169b9377b6b5bad28a9189aefe2d (patch)
tree422b264fc9a91a3a9cb8c4db737ff45b53ca8988 /tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
parent4bff8ea4d48851fbea078bd93226888bdd05d8dc (diff)
Compile with clang
Clang does not accept this syntax, see http://llvm.org/bugs/show_bug.cgi?id=8875 The work around is to not use the typedef name. NS() around the template parameters is necessary to match the real types (and not the QMetaType::Type enumerators), otherwise we get the following: kernel/qmetatype.cpp:1647:72: error: template argument for template type parameter must be a type ...NS(QVariantMap)* >(where)->NS(QVariantMap)::~QMap<QString, ... ^~~~~~~ Change-Id: I3afa0cbbe4ef7ad899cfa9eafb3bcc10bedc20b3 Reviewed-by: Wolf-Michael Bolle <wolf-michael.bolle@nokia.com> Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/widgets/styles/qstyle/tst_qstyle.cpp')
0 files changed, 0 insertions, 0 deletions