Answer the question
In order to leave comments, you need to log in
How to migrate from QtScript to QJSEngine?
I've been using Qt for a long time, I like everything cool, with the release of QJSEngine, QtSctipt was marked as obsolete,
but I still can't transfer some functionality to QtScript.
There is some platform using QtScript as a JavaScript interpreter to describe application logic.
JS script example
var f=new File('/var/www/test1');
f.write('123\n');
f.CopyTo('/var/www/test2');
class File: public QObject, QScriptable {
Q_OBJECT
….
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question