Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0 Alpha
-
Linux,Windows
-
2182d6ae4057afeef3ef41d0dfb0cbec62fa79c4 (qtbase/5.6, 26.11.2015, 5.6)
Description
qtbase/tests/auto/corelib/itemmodels/qitemmodel produces a ton of warnings
Don't know how to handle 'hint', use qRegisterMetaType to register it.
when constructing a QSignalSpy
QSignalSpy modelLayoutChangedSpy(currentModel, &QAbstractItemModel::layoutChanged);
at qtbase/tests/auto/corelib/itemmodels/qitemmodel/tst_qitemmodel.cpp:849 . They refer to the parameter QAbstractItemModel::LayoutChangeHint which has a Q_ENUM:
enum LayoutChangeHint
{
NoLayoutChangeHint,
VerticalSortHint,
HorizontalSortHint
};
Q_ENUM(LayoutChangeHint)
which supposedly registers the meta type automagically?