Hi all,

Is there a safe way to get char * from QByteArray which is not destroyed when 
original QByteArray is destroyed?

I'm thinking about something like

QByteArray ba = ...;
char *data = ba.data();
ba.data() = '\0';


-- 
Regards,
Konstantin
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to