Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QPixmap::handle() in Qt5
yann.lhr last edited by
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 ?
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 :(
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