bollibompa
8th April 2011, 15:03
Hi,
I am converting an app from qt3 -->qt4. The code uses Qextserialport and I think I now managed to do all changes except from one:
void pump::sendPump( const char *out)
{
if(port.open()) {
port.writeBlock(out,strlen(out));
port.flush();
port.flush();
port.close();
}
}
I recieve an error for the WriteBlock. Has this been changed in new version of Qextserial and can anyone help me how it should be written
Many thanks in advance!
Thomas
I am converting an app from qt3 -->qt4. The code uses Qextserialport and I think I now managed to do all changes except from one:
void pump::sendPump( const char *out)
{
if(port.open()) {
port.writeBlock(out,strlen(out));
port.flush();
port.flush();
port.close();
}
}
I recieve an error for the WriteBlock. Has this been changed in new version of Qextserial and can anyone help me how it should be written
Many thanks in advance!
Thomas