SerialPort class using signals and slots within a thread
-
All,
I'm looking for a BUILDABLE and testable example of the new SerialPort class using signals and slots within a thread which is not the GUI thread. I have found a lot of cheats/hacks that tie up a thread by calling waitForReadyRead() instead of using the actual readyRead() signal connected to a slot.
I have a sinking suspicion the documentation is wrong and SerialPort is not a thread-safe class. If this is true I need to find a library which can actually be used within a thread without blocking an entire thread to do IO.
Platform is 32-bit Ubuntu 12.04 LTS if it makes a difference. Windows is not spoken here.