Further playing around and declare dependency on QtScript.

Some features that we need are not provided by QJSEngine.