how to split a Qstring



  • This post is deleted!


  • As explained here you should use QDataStream to safely serialise your data. It looks like you are assuming that readAll() reads 1 and exactly 1 "data point" but that's not the case, readAll() reads everything that's on the serial, it could be 1, 100 or even a partial piece of data


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.