Thanks...
Just want to know, to build a package I am using QByteArray. But my Len and Checksum are of 2 bytes in size. How can I append 2 bytes to QByteArray?
Best Regards,
Anita
Hi,
My structure contains a variable of type quint16_t and before sending to a device through serial port, I am appending it to a QByteArray. As QByteArray holds byte, I see only one byte is sent....
None of us have ever made that kind of mistake :-)
d_stranz Today, 17:30OK, fine, I believe you. But what your most recent comments indicate is that there are bugs in your code around handling the data. Something is becoming corrupted that on your partner's machine...
d_stranz Today, 17:27I think you need to look at the calculations you are doing. It sounds to me like you are dividing the unzoomed axis range by 100 or 1000 or whatever. If you do that, you will eventually reach the...
d_stranz Today, 17:11Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
Assigning quint16_t to QByteArray while sending serial data frame from PC to device
Today 19:25 by anita.niharika@gmail.com