Hello,
I'm writing an application using QML and PyOtherSide. I'm new to Qt,
QML, PyOtherSide and all the rest apart from Python.
I ssh into the emulator and use 'qmlscene main.qml' to run my
application. I'm wondering about qmlscene's error handling. I create QML
objects dynamically based on data sent from the Python side. If I have
an error in my QML code, qmlscene seems to just silently stop executing
code at the offending point. I'd expect an error message, maybe even a
crash. Why don't I get that?
Two examples of these ignored errors: (1) I was referring to an object
by its id apparently out of scope, solved by moving the Python block
from under ApplicationWindow to under Page and (2) I mistyped a method
call, 'addItem' instead of 'addMapItem'.
--
Osmo Salomaa <otsal...@iki.fi>
_______________________________________________
SailfishOS.org Devel mailing list