markg accepted this revision. markg added inline comments. This revision is now accepted and ready to land. | View Revision
Unrelated to your commit, i know.
Is there a reason why this is done at runtime?
#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN // convert.. with qFromLittleEndian for instance #endif
Just curious.
Very smart! I didn't even know that was possible.
The cast should change to a C++ style cast though.