Use lightwight Q_GADGET instead of Q_OBJECT
parent
b1bc4c5d53
commit
86dd4ba6c4
|
@ -4,12 +4,12 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <QMetaEnum>
|
#include <QMetaEnum>
|
||||||
#include <QObject>
|
#include <QObject> // For Q_GADGET
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
|
|
||||||
class Geometry : public QObject
|
class Geometry
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_GADGET
|
||||||
public:
|
public:
|
||||||
enum Format
|
enum Format
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue