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

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.3.1
    • GUI: Painting
    • 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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes