Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.8
-
None
Description
I have struct
struct __attribute__((packed)) my_struct
I want to make deserialization for my struct using QDataStream, but
error: cannot bind packed field ‘obj.my_struct::a’ to ‘quint32&’ {aka ‘unsigned int&’}
error is because of
__attribute__((packed))
I ask Qt to add mechanism to deserialize struct even if it is packet. If you will reject then I ask to make error msg more user-friendly...
This is my example