QSerialPort emits a signal when the operation is finished. Operations are scheduled and performed when the control returns to Qt's event loop.
The asynchronous (non-blocking) approach.QSerialPort supports two general programming approaches:
Blocking Slave shows how to create an application for a serial interface using QSerialPort's synchronous API in a non-GUI thread.