Put real time (non static) on qt (c++) : <p>i want put the real time on qt, but non static</p>

<p>I have this code:</p>

<pre><code>QDateTime dateTime = dateTime.currentDateTime();
QString dateTimeString = dateTime.toString("yyyy-MM-dd hh-mm-ss");
ui-&gt;data-&gt;setText(dateTimeString);
</code></pre>

<p>but it shows only a static dateTime and i want the real dateTime (change every second)</p>
