QJSEngine throw engine exception in c++ native method
-
wrote on 24 Feb 2016, 13:12 last edited by walteste
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?
-
wrote on 31 Dec 2017, 13:25 last edited by
Hi;
Did you solve ?
-
wrote on 3 Jan 2018, 06:50 last edited by
Unfortunately, No.
-
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
-
wrote on 3 Jan 2018, 10:10 last edited by
If I will, inform you :)