title: QtScript output redirection
body: <p>When I call this code:</p>
  
  <pre><code>QScriptEngine e;
  e.evaluate("print('hello, world!')");
  </code></pre>
  
  <p>the output text (from print method) is written to main application's terminal.</p>
  
  <p>Is there any way to redirect it to a custom QIODevice?</p>