Hello,
I use a third party software that uses Xlib. I need to put a X11 Pixmap in my Qt Application so I would need to solve the next issues:
- Convert a X11 Pixmap to QPixmap.
- Paint the background of a QGraphicsView with my X11 Pixmap.
The only thing I have managed to do is something like that:
XCopyArea(QX11Info::display, MyPixmap, MyQgraphicsView->winId(), gc, 0, 0, weight, height, 0, 0);
But doing in this way, I only see my Pixmap less than a second before the Qt engine redraws again.
Thanks for your help.
Bookmarks