 <p>For this kind of requirement <code>QT</code> has <a href="http://doc.qt.io/qt-4.8/signalsandslots.html" rel="nofollow">Signal and Slots</a>. You have a <code>Signal</code> which will be emitted and consumed by assigned <code>SLOT</code> method. </p> <p>As you want to read Serial Data you should have Signal <code>readyRead</code> and connected to Slot which is done as below:</p> <pre><code>YourClass :: YourClass(QObject* parent): QObject(parent) { connect(serial, SIGNAL(readyRead()),this,SLOT(myReceivedData())); } </code></pre> <p>As this code in your Class <code>Constructor</code>.</p> <p>Implement this method as below:</p> <pre><code>void YourClass :: myReceivedData() { QByteArray readData= serial-&gt;readAll(); qDebug() &lt;&lt; readCurData; // Here I am printing the received Serial Data } </code></pre>