Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-1110

On X11, support retrieving native pixmap handles from QPixmap that are not freed when the QPixmap is deleted

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.3.1
    • GUI: Painting
    • None

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            rodal Samuel Rødal
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes