Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QPixmap::handle() in Qt5
Qt 6.12 LTS is out! See what's new in the release blog

QPixmap::handle() in Qt5

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,
    I'm trying to port an application to Qt5 and I'm having issues with QPixmap::handle() it used to return a QT::HANDLE which was in fact a Xlib Pixmap object.
    It now returns QPlatformPixmap.
    I'm using a proprietary library that uses a Xlib Pixmap to draw 'stuff' in it, which was working like a charm with the handle() function.
    Is there a way to do that in Qt5 ?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bodzio131
      wrote on last edited by
      #2

      QPixmap doc mumbles something about x11PictureHandle, but the only thing I can find is QWidget::x11PictureHandle (undocumented). I hope you can squeeze some useful information out of this incomplete doc :(

      1 Reply Last reply
      0
      • P Offline
        P Offline
        prady_80
        wrote on last edited by
        #3

        you will need to write a low level port of the proprietary library it seems ... I don't know if this link is of any help "Pixmap KDE":http://community.kde.org/KWin/Qt5#QPixmap.2FXPixmap

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt
        • Unsolved