Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.3.1
-
None
Description
On Windows, QPixmap has toWinHBITMAP() and fromWinHBITMAP(), and on Mac there is toMacCGImageRef() and fromMacCGImageRef(). The toWin[...] and toMac[...] functions return native pixmap handles that are the caller's responsibility to free after use.
It would be nice if the same functionality was supported on X11.
Note that QPixmap on X11 has functionality to return a native pixmap handle, but that this handle is freed when the QPixmap is deleted.