With QMake, the setup for QtScript is as simple as adding this to your .pro
file:
QT += script
But we'e using MS Visual Studio for the project. What do I change to make Visual Studio recognize includes for QtScript? Currently, it reports that the files were not found:
#include <QScriptEngine>
#include <QScriptValue>
fatal error C1083: Cannot open include file: '
QScriptValue
': No such file or directory
I use the Qt add-in for visual studio. I have checked the script option there - well actually it was checked already - but that didn't solve the problem: