I'm writing some haskell bindings, and I have slots working. But I'm really struggling with properties! I do not know how they are meant to work:
I keep getting:
C++: readProperty: invalid read method for property
To get this, I have a QMetaObject with a property counter with a signal getcounter. This signal has no parameters. I'm not touching set_property in Object.
I've been playing around for a day and can't get it to work! Can you describe how properties are meant to be set up? Perhaps in C?
I'm writing some haskell bindings, and I have slots working. But I'm really struggling with properties! I do not know how they are meant to work:
I keep getting:
To get this, I have a QMetaObject with a property counter with a signal
getcounter
. This signal has no parameters. I'm not touching set_property in Object.I've been playing around for a day and can't get it to work! Can you describe how properties are meant to be set up? Perhaps in C?
All the best
James