[Interest] QDatastream, QMap, QImage serialization
Christoph Feck
cfeck at kde.org
Mon May 21 16:46:54 CEST 2018
On 21.05.2018 16:36, Murphy, Sean wrote:
>>> Why is QImage even a GUI type?
>>
>> "Has pixels" is the simplest defintiion of GUI.
>
> As a counter to that: QImage be safely used outside of the GUI thread which
> is not true for most classes that are considered GUI classes...
But doesn't QImage need PNG to serialize data? I wouldn't want a libpng
dependency in command line applications.
Maybe for Qt6 we could have a thin QtGuiCore library, which manipulates
image data and colors, but does not have a dependency on GUI servers
(OpenGL, X11, etc.)
More information about the Interest
mailing list