error because of __attribute__((packed))
If you remove it then error will disappear...
error: cannot bind packed field ‘obj.my_struct::a’ to ‘quint32&’ {aka ‘unsigned int&’}
Example how struct attribute packed breaks a deserialization
C++Apache-2.0
error because of __attribute__((packed))
If you remove it then error will disappear...
error: cannot bind packed field ‘obj.my_struct::a’ to ‘quint32&’ {aka ‘unsigned int&’}