Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Throwing a script exception from C++ (QtQuick 2.0)
extronus last edited by
With Qt4/QtQuick1.x, after obtaining a pointer to QScriptEngine, i was throwing exceptions with
However new QJSEngine class provides no such facilities. I've tried "QJSEngine::evaulate()" function but it has no effect. Any ideas?