diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2012-02-08 16:40:11 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-15 17:19:34 +0100 |
commit | bad8ed60958f476329e39c4a90575e786364cac8 (patch) | |
tree | b138a849a105b49af2e950afb280aa4dbb90d1b0 /tests | |
parent | 620b21151255c4a1467e9ad0fe67136bf9d61b0d (diff) | |
download | qtactiveqt-bad8ed60958f476329e39c4a90575e786364cac8.tar.gz |
Don't register user types as typedefs of void *
Attempting to register a previously registered type as a typedef is now
flagged by QMetaType as a binary compatibility breakage. This was being
triggered while building the examples:
"QMetaType::registerTypedef: Binary compatibility break -- Type name
'Application*' previously registered as typedef of 'Application*'
[258], now registering as typedef of 'void*' [31]."
QMetaProperty::userType was introduced in Qt 4.2 and properly does what
the code was trying to do. Simplification ensued.
Change-Id: Ie0ea9336ba6382d99a0f815f189046c575e5a2c2
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions