bzar
A Commando
Thanks for the invite . Maybe I'll visit there at some point.
Anyway, continuing work on the milky plugin, it now can fetch the database and handles all the signals, though not with full functionality. In any case, things are progressing again. I'm having trouble with declaring a type defined in a plugin usable in the QML. I have a QML_DECLARE_TYPE for it, but when I try to emit a signal with one as a parameter I get "QScriptEngine: Unable to handle unregistered datatype 'MessageType' when invoking handler of signal MilkyListener::message(MessageType)". The type is an enum for libmilky message types defined in the event listener class's public interface. I recall there being a similar problem before, but you handled it in some way I don't remember right now.
Anyway, continuing work on the milky plugin, it now can fetch the database and handles all the signals, though not with full functionality. In any case, things are progressing again. I'm having trouble with declaring a type defined in a plugin usable in the QML. I have a QML_DECLARE_TYPE for it, but when I try to emit a signal with one as a parameter I get "QScriptEngine: Unable to handle unregistered datatype 'MessageType' when invoking handler of signal MilkyListener::message(MessageType)". The type is an enum for libmilky message types defined in the event listener class's public interface. I recall there being a similar problem before, but you handled it in some way I don't remember right now.