mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 15:22:09 +02:00
Added missing metatype registration
This commit is contained in:
parent
782c84b873
commit
82e6cb9391
2 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <QJsonDocument>
|
||||
|
||||
int uint32MetaTypeId = qRegisterMetaType<glm::uint32>("uint32");
|
||||
int uint16MetaTypeId = qRegisterMetaType<uint16_t>();
|
||||
int glmUint32MetaTypeId = qRegisterMetaType<glm::uint32>("glm::uint32");
|
||||
int vec2MetaTypeId = qRegisterMetaType<glm::vec2>();
|
||||
int u8vec3MetaTypeId = qRegisterMetaType<u8vec3>();
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
class QColor;
|
||||
class QUrl;
|
||||
|
||||
Q_DECLARE_METATYPE(uint16_t)
|
||||
Q_DECLARE_METATYPE(glm::vec2)
|
||||
Q_DECLARE_METATYPE(glm::u8vec3)
|
||||
Q_DECLARE_METATYPE(glm::vec3)
|
||||
|
|
Loading…
Reference in a new issue