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 <[email protected]> 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
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to