hi everyone. I just read the the following post on the labs blog about qt modules. I currently started an application that is based on a large proportion on qtscript. however I see this today:
Overall module state: Active/Maintained QScriptEngineAgent and related classes State: Deprecated Reasoning: flawed design, being replaced by a better design.
So what do you recommend me? To wait for a better implementation, is this gone be 100% change, or only small changes that will not be so hard to port my application to future versions of qt.
Thanks in advance
I’m using scriptUnload() [doc.trolltech.com]
I’m not afraid, but I’m currently in the begining stage with my project and I’m 100% sure I want to port it to qt 5 when will be ready. That’s why I asked?
QtScript will indeed be deprecated, according to the status of the V8 port: it was abandoned because QtScript exposes too much for it to be feasible to be powered by V8.
The successor will be minimal and focus on QML.
At least that’s what this says:
QTBUG-12503: Evaluate the technical feasibility of using V8 for Qt Script [bugreports.qt-project.org]
The intent is to introduce a new, minimal Qt/C++ scripting API on top of V8 for Qt 5 that’s focused on serving QML/JS integration.
I am posting this comment for the benefit of other who, like me, found this topic from a Google search. :)