Hello guys,

i have in hands a basic problem.


Variable attributeValue is QVariant.

QByteArray value;
for(int i=0;i<(int)attribute.ulValueLen;i++)
value.append(((quint8*)attribute.pValue)[i]);
attributeValue.setValue(value);

After this code i want put in one std::string the attributeValue.

QByteArray is a binary?

Thanks.

Regards,

8080205