[Qt-interest] QT-X11 Display and Window handle
Anil H
dspinside at gmail.com
Sat Aug 22 14:01:22 CEST 2009
Hi,
I am trying out an X11 based QT4.5.2 application on Red Hat EL5.
The application requires X11 window to be embedded in the QT-GUI
and the embedded window displays images/video.
So I require an X11 display and window handle which has been already opened
by QT.
QT documentation recommends *not* to use *
QPaintDevice::x11AppDisplay ()
QPaintDevice::x11AppRootWindow() API's* * *since it is provided only for QT3
compatibility.
I tried out X11 C API's *XOpenDisplay() * & *RootWindow*() .
But this opens up another window which can't be embedded in the QT GUI.
How to get X11Display and window handle which has already been opened by QT
?
Thanks and regards
Anil H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090822/76a35d2b/attachment.html
More information about the Qt-interest-old
mailing list