Add Q_DECLARE_METATYPE(Post*) to the example (#60)
This commit is contained in:
parent
546b7ae53c
commit
e062b49830
|
|
@ -50,6 +50,9 @@ public:
|
|||
explicit Post(QObject *tableSet = 0);
|
||||
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(Post*)
|
||||
|
||||
```
|
||||
|
||||
## Declare child table
|
||||
|
|
|
|||
Loading…
Reference in New Issue