Hi,

is there a way to emit Javascript exceptions from a C++ QML plugin or more 
general: what is the best way to indicate errors to QML from within a QML 
plugin?
The reason I ask, is because I am implementing the W3C WebSocket API (see 
http://www.w3.org/TR/websockets).
In several circumstances, the standard says to throw javascript exceptions.
Maybe an elegant solution could be to just expose an exception signal, and use 
that instead.

Any advice is welcomed.

Cheers,

Kurt
This message is subject to the following terms and conditions: MAIL 
DISCLAIMER<http://www.barco.com/en/maildisclaimer>
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to