[Interest] Problem using QTcpSocket with large amounts of data
Christian Dähn
daehn at asinteg.de
Tue Apr 2 14:34:48 CEST 2013
Hi,
I wrote you some examples for sending QImages etc. into the Qt-Project forum
thread.
The examples are take from an industral imaging framework I developed - so it's
guaranteed to work with even hughe image data (> 100 MB) and can be easily
extended
to use even multiple different Qt data types in one message, e.g.:
QByteArray buffer;
QImage image;
QVariantHash properties;
QDataStream out(&buffer);
out << int(0);
out << image;
out << properties:
ciao,
Chris
// ASinteg GmbH
> On 30. März 2013 at 10:54 Christoph Kurz <c.kurz at melph.de> wrote:
>
> Hi,
> I have a problem with my application crashing using QTcpSocket.
> Short version: My application crashes on "QTcpSocket->readAll()" with a
> "glibc - double free or corruption"-error when I try to receive large amounts
> of data (100 KB - 1 MB).
>
> A more detailed description can be found here:
> http://qt-project.org/forums/viewthread/25609/
>
> Any ideas would be appreciated.
>
> Regards,
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130402/7b381978/attachment.html>
More information about the Interest
mailing list