[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: QDataStream format change in Qt3.1
From: Matthias Ettrich <ettrich () trolltech ! com>
Date: 2002-09-12 12:44:02
[Download RAW message or body]
On Thursday 12 September 2002 14:01, Lubos Lunak wrote:
[snip]
>
> (*) Actually the only change between versions 4 and 5 seems to be QImage,
> so for practical purposes it probably can be considered compatible, but
> still, the problem of future versions remains.
The change only effects QImage (meaning also QPixmap). We should marshall
(read: should have marshalled) a datastream version, but that's too late now.
The problem isn't as serious as it looks, because most the marshalling
functions are inside Qt. If you run a KDE 3.0.3 application linked to Qt 3.1,
those apps will use the newer format as well => no problem.
Note that the DCOP protocol only is about sending a blob of bytes marked with
a name to a certain object. It's KDE's protocol on top of those that
interprets the name as a function name with parameters and the blob of bytes
as the arguments written with a qdatastream.
I do not foresee any futher format changes for the types we are using, meaning
the problem is minor. The trouble with QImage was that libpng doesn't handle
null images very well and we needed a way to stream a null image without
error messages and unpredictable behaviour.
Matthias
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic