from Qt Assistant
To link against the module, add this line to your qmake .pro file:
QT += script
so, add it to you profile and rebuild all project.