missing boilerplate definitions added

This commit is contained in:
Uwe Rathmann 2022-11-18 18:47:35 +01:00
parent 912d768a61
commit b96b1acd20
2 changed files with 12 additions and 1 deletions

View File

@ -5,6 +5,17 @@
#include "QskPlacementPolicy.h"
static void qskRegisterPlacementPolicy()
{
qRegisterMetaType< QskPlacementPolicy >();
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
QMetaType::registerEqualsComparator< QskPlacementPolicy >();
#endif
}
Q_CONSTRUCTOR_FUNCTION( qskRegisterPlacementPolicy )
#ifndef QT_NO_DEBUG_STREAM
#include <qdebug.h>

View File

@ -10,7 +10,7 @@
#include "QskNamespace.h"
#include <qmetaobject.h>
class QskPlacementPolicy
class QSK_EXPORT QskPlacementPolicy
{
Q_GADGET