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.)
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest