I am using qint type definitions in my applications, but I have a serius problems with the croosplatform compitability.

The structure that I use:

struct DatagramHeader
{
quint8 version;
quint16 lenght;
quint16 checkSum;
}

The problem is that sizeof(DatagramHeader) prints out different value (from Win32) when used on ARM.

Why???

Regards,
Samo