Now require objects to be explicitly exported for create to be exported
This commit is contained in:
parent
7b25e28d58
commit
9e91b25cda
|
@ -3,7 +3,7 @@
|
|||
import NimQml, NimQmlMacros
|
||||
|
||||
QtObject:
|
||||
type Contact = ref object of QObject
|
||||
type Contact* = ref object of QObject
|
||||
m_name: string
|
||||
|
||||
template newContact*(): Contact =
|
||||
|
@ -24,4 +24,4 @@ QtObject:
|
|||
QtProperty name of string:
|
||||
read = getName
|
||||
write = setName
|
||||
notify = nameChanged
|
||||
notify = nameChanged
|
||||
|
|
Loading…
Reference in New Issue