forked from qt-creator/qt-creator
QmlProfiler: Add some Q_DECLARE_METATYPE
Change-Id: If09ce20e997087ff73eb60bb16ef2e501280944d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <QString>
|
||||
#include <QByteArray>
|
||||
#include <QVarLengthArray>
|
||||
#include <QMetaType>
|
||||
|
||||
#include <initializer_list>
|
||||
#include <type_traits>
|
||||
@@ -295,6 +296,8 @@ private:
|
||||
|
||||
} // namespace QmlProfiler
|
||||
|
||||
Q_DECLARE_METATYPE(QmlProfiler::QmlEvent)
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
Q_DECLARE_TYPEINFO(QmlProfiler::QmlEvent, Q_MOVABLE_TYPE);
|
||||
QT_END_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user