QT QScript module not working
-
I'm having trouble trying to add the QScript module to a project I've created in QtCreator. I've added the script module to my .pro file:
QT += script xmlHowever, this gives me the error Project ERROR: Unknown module(s) in QT: script.
Including any classes from this module is also causing a file not found error:
#include <QScriptEngine>Also I checked the Maintenance tool but didn't find QTscript module in it

-
I'm having trouble trying to add the QScript module to a project I've created in QtCreator. I've added the script module to my .pro file:
QT += script xmlHowever, this gives me the error Project ERROR: Unknown module(s) in QT: script.
Including any classes from this module is also causing a file not found error:
#include <QScriptEngine>Also I checked the Maintenance tool but didn't find QTscript module in it

@Youssef3453 Take a look at https://doc.qt.io/qt-5/qtscript-index.html
I don't think this module is available in Qt6, even in Qt5 it was only for compatibility with Qt4. -
@Youssef3453 Take a look at https://doc.qt.io/qt-5/qtscript-index.html
I don't think this module is available in Qt6, even in Qt5 it was only for compatibility with Qt4.@jsulm Thank you! I found QJSEngine and it worked