Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QPixmap::handle() in Qt5

    General and Desktop
    3
    3
    1766
    Loading More Posts
    • 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.
    • Y
      yann.lhr last edited by

      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 Reply Quote 0
      • B
        bodzio131 last edited by

        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 Reply Quote 0
        • P
          prady_80 last edited by

          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 Reply Quote 0
          • First post
            Last post