Qt5.5 Scripting
<p>I am using Qt5.5, I need a way to evalulate an expression.  I would like to use the QScriptEngine, but cannot find a full and complete example on how to use it.</p>

<p>I've tried including:</p>

<pre><code>    #include &lt;QtScript/QScriptEngine&gt;
</code></pre>

<p>However, after building I get:</p>

<pre><code>    undefined reference to `QScriptEngine::QScriptEngine()'
    undefined reference to `QScriptEngine::QScriptEngine()'
    undefined reference to `QScriptEngine::QScriptEngine()'
    collect2: error: ld returned 1 exit status
</code></pre>

<p>[edit]...Thank you @OMGtechy, changed include to:</p>

<pre><code>    #include &lt;QJSEngine&gt;
</code></pre>

<p>And:</p>

<pre><code>   QJSEngine engine;
</code></pre>

<p>No more issue.</p>