Sounds like you should not be using QSerial and instead design a custom solution outside of Qt. Qt is not for real-time processing and your description of the task seems to imply real-time constraints.
Yes you are damn right. Saving is synchronous.
The problem i was facing is that i checked just after save if the image was written.
Apparently it takes some times for the image to be written on disk.
I use QTRY_VERIFY_WITH_TIMEOUTand it solved my problem.
@SGaist Hi. Thank you for your help. I'll give it a try, but I still don't get why my code doesn't work... If anyone could take a guess, I'd appreciate.