qt5base-lts/tests/manual
Marc Mutz 98b77f9faa QMetaType: remember whether a type was registered with Q_DECLARE_METATYPE
There are two ways to register a type: using Q_DECLARE_METATYPE(T) and
using qRegisterMetaType<T>("T"). Doing one thing in one translation
unit and another thing in another TU constitutes an ODR violation,
because the value of QMetaTypeId<T>::Defined will differ in the two
TUs.

By adding the information whether a type was declared with
Q_DECLARE_METATYPE to the typeFlags(), such a use will trigger
the existing binary-incompatibility failure that checks for
equality of the incoming type flags with the stored ones (if any).

I had to encode the type as a defaulted function argument in order
to avoid the linker merging instantiations of the function templates
and therefore rendering the detection moot.

Change-Id: I82017caf300458b411cc8ac2f6653536fac64117
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2012-12-11 11:12:08 +01:00
..
bearerex normalise signal/slot signatures [QtNetwork tests] 2012-10-19 00:44:54 +02:00
cocoa Fix syncing of visibility and enabled for menus on Cocoa 2012-10-26 14:53:09 +02:00
dialogs Add manual test for dialogs. 2012-10-31 21:52:30 +01:00
gestures Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
highdpi Basic high-dpi "retina" support for Qt 5. 2012-12-01 08:33:20 +01:00
inputmethodhints Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
keypadnavigation Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
lance Stop using the name "Trolltech" in QSettings 2012-12-03 03:47:08 +01:00
mkspecs Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
network_remote_stresstest test: Remove CONFIG += testcase from manual tests 2012-12-11 10:37:59 +01:00
network_stresstest test: Remove CONFIG += testcase from manual tests 2012-12-11 10:37:59 +01:00
qcursor Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdesktopwidget Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsitem Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsitemgroup Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicslayout/flicker Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qhttpnetworkconnection test: Remove CONFIG += testcase from manual tests 2012-12-11 10:37:59 +01:00
qimagereader Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qlayout Modified vertical alignments of simple widgets on OSX 2012-10-18 21:45:46 +02:00
qlocale Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmetatype QMetaType: remember whether a type was registered with Q_DECLARE_METATYPE 2012-12-11 11:12:08 +01:00
qnetworkaccessmanager/qget normalise signal/slot signatures [QtNetwork tests] 2012-10-19 00:44:54 +02:00
qnetworkconfigurationmanager test: Remove CONFIG += testcase from manual tests 2012-12-11 10:37:59 +01:00
qnetworkreply test: Remove CONFIG += testcase from manual tests 2012-12-11 10:37:59 +01:00
qscreen QScreen manual test improvements: fields resize, better formatting 2012-10-16 17:31:31 +02:00
qssloptions test: Remove CONFIG += testcase from manual tests 2012-12-11 10:37:59 +01:00
qtabletevent Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtbug-8933 Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtouchevent Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwidget_zorder Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
repaint Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
socketengine test: Remove CONFIG += testcase from manual tests 2012-12-11 10:37:59 +01:00
textrendering Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
widgetgrab Make widgetgrab manual test compile with 4.8 and 5. 2012-11-23 17:04:00 +01:00
widgets QGraphicsView - fix rubberband to stay right on scroll 2012-12-01 08:28:43 +01:00
windowflags QWidget windows have fullscreen button by default; manual test for it 2012-12-01 08:32:26 +01:00
windowgeometry QWidget windows have fullscreen button by default; manual test for it 2012-12-01 08:32:26 +01:00
windowmodality Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
manual.pro Add manual test for dialogs. 2012-10-31 21:52:30 +01:00