mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
fix build without relocations after df31068b
in Qt5 Q_NO_DATA_RELOCATION is no longer and I overlooked the hunk in which QMetaObjectAccessor was removed Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c1d7372a87
commit
84cb3913a8
1 changed files with 7 additions and 0 deletions
|
@ -280,6 +280,9 @@ public:
|
|||
{}
|
||||
};
|
||||
|
||||
struct QMetaObject;
|
||||
typedef const QMetaObject& (*QMetaObjectAccessor)();
|
||||
|
||||
struct Q_CORE_EXPORT QMetaObject
|
||||
{
|
||||
const char *className() const;
|
||||
|
@ -442,7 +445,11 @@ struct Q_CORE_EXPORT QMetaObject
|
|||
const uint *data;
|
||||
typedef void (*StaticMetacallFunction)(QObject *, QMetaObject::Call, int, void **);
|
||||
StaticMetacallFunction static_metacall;
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObjectAccessor *relatedMetaObjects;
|
||||
#else
|
||||
const QMetaObject **relatedMetaObjects;
|
||||
#endif
|
||||
void *extradata; //reserved for future use
|
||||
} d;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue