The main issue here was the "webEventReceived" connection between the OffscreenQMLSurface and the TabletProxy object. For whatever reason, if this is not a direct Signal to Slot connection, the webEventReceived event does not propagate.
Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 6 files). Show all
Unified · Split
| @@ -974,6 +974,8 @@ void ScriptEngine::run() { · 973 unmodified lines | ||
| 974 | 974 | return; // bail early - avoid setting state in init(), as evaluate() will bail too |
| 975 | 975 | } |
| 976 | 976 | |
| 977 | + scriptInfoMessage("Script Engine starting:" + getFilename()); | |
| 978 | + | |
| 977 | 979 | if (!_isInitialized) { |
| 978 | 980 | init(); |
| 979 | 981 | } |