filcuc / nimqml

Qt Qml bindings for the Nim programming language
Other
164 stars 20 forks source link

Cannot run with arc gc #34

Closed ire4ever1190 closed 2 years ago

ire4ever1190 commented 3 years ago

running the basic example with --gc:arc returns this error

/home/name/.nimble/pkgs/nimqml-0.9.0/nimqml/private/qobject.nim(159, 6) Error: cannot bind another '=destroy' to: QObject:ObjectType; previous declaration was constructed here implicitly: /home/name/.choosenim/toolchains/nim-#devel/lib/system/arc.nim(212, 15)
arkanoid87 commented 2 years ago

Can confirm on nim 1.6.0 running helloworld example on just compiled DOtherSide

/home/arkanoid/.nimble/pkgs/nimqml-0.9.0/nimqml/private/qobject.nim(159, 6) Error: cannot bind another '=destroy' to: QObject:ObjectType; previous declaration was constructed here implicitly: /home/arkanoid/.choosenim/toolchains/nim-1.6.0/lib/system/arc.nim(210, 7)

filcuc commented 2 years ago

Thank you for the report i'll look at this bug report this weekend

filcuc commented 2 years ago

@arkanoid87 @ire4ever1190 FYI It took me longer than expected but i think now it should work with both arc and orc