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
@@ -50,6 +50,17 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
namespace
|
||||
{
|
||||
class QAbstractVideoSurfacePrivateRegisterMetaTypes
|
||||
{
|
||||
public:
|
||||
QAbstractVideoSurfacePrivateRegisterMetaTypes()
|
||||
{
|
||||
qRegisterMetaType<QAbstractVideoSurface::Error>();
|
||||
}
|
||||
} _registerMetaTypes;
|
||||
}
|
||||
|
||||
|
||||
class QAbstractVideoSurfacePrivate {
|
||||
|
||||
Reference in New Issue
Block a user