Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.9.0
-
None
Description
Hi!
I want to send a signal from server side to javascript client, which has a custom datatype in its signature. I define a struct and register it as a qt metatype. However, after I emit signal passing some value, I get null Object on the client side.
I have attached a modified webchannel example. If you run diff, you'll see, that I have changed newMessage signal signature to pass time, user and message as struct both in server and client code.
Can you, please, tell, if this is supposed to work? Or am I missing something?
Thank you.
P.S. qwebchannel.js is still missing from distributives.