[Qt-interest] Transferring a QPixmap through QTcpSocket

Joshua W Joseph joshua at blueprint-group.co.ke
Thu Apr 7 14:25:14 CEST 2011


On Thu, Apr 7, 2011 at 3:12 PM, Scott Aron Bloom
<Scott.Bloom at onshorecs.com>wrote:

> Start off a bit easier…
>
>
>
> QPixmap is a complex datastructure…
>
>
>
> Try sending and receiving an integer..
>
> Ie
>
>     out << (quint16)0;
>
>     out << 14;
>
>     out << (quint16)(block.size() - sizeof(quint16));
>
>
>
> and then receive the “14”
>
>
>
> Once you get that working, it may shed some light on the pixmap
>
>
>
> Scott
>
>
> Yes, I already have chat messages incorporated and the are working just
fine. However, I need to incorporate QPixmap, but I just can get it to work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110407/8cb337ed/attachment.html 


More information about the Qt-interest-old mailing list