QJSEngine throw engine exception in c++ native method
Unsolved
General and Desktop
-
I am looking for a way to throw a QJSEngine exception within my native c++ function while we evaluate a script.
In QScriptEngine I used:
return context->throwError( QScriptContext::SyntaxError, "Argument not valid.");
How can I achieve this in the QJSEngine?
-
You should try the Interest mailing list: http://lists.qt-project.org/mailman/listinfo/interest
There is a better chance to catch experienced users or developers that might help you.
And there's always the possibility to create a bugreport (maybe search for existing reports first): bugreports.qt.io