Add qRegisterMetaTypes for the public Q_DECLARE_METATYPEs.
Also turned qtmedianamespace.qdoc into a cpp file so I could stick the qRegisterMetaTypes into it. Change-Id: Idd6d3e2f348f1ed45b0a35ce180d023a170e8625 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
a8be7b6053
commit
8ff4148342
@@ -61,7 +61,9 @@ class QVideoFramePrivateRegisterMetaTypes
|
||||
public:
|
||||
QVideoFramePrivateRegisterMetaTypes()
|
||||
{
|
||||
qRegisterMetaType<QVideoFrame::PixelFormat>("QVideoFrame::PixelFormat");
|
||||
qRegisterMetaType<QVideoFrame>();
|
||||
qRegisterMetaType<QVideoFrame::FieldType>();
|
||||
qRegisterMetaType<QVideoFrame::PixelFormat>();
|
||||
}
|
||||
} _registerMetaTypes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user