[Interest] How to embed a "rdesktop" window in a QGraphicsScene

Francisco Ares frares at gmail.com
Sat Sep 22 05:47:50 CEST 2018


Hi, All.

I have already embedded a "rdesktop" (Windows (R) Remote Desktop Client) in
a common QWidget using rdesktop's parameter -X (winID) and extracting this
information directly from QWidget ( widget->winId(); ).

Now I want to do some fancy stuff like switching among several remote
desktop sessions in a QGraphicsScene environment. So I started to try using
the same QWidget, but inside a QGraphicsProxyWidget, so the rdesktop's
QWidget could be presented as a QGraphicsItem with all sorts of
deformations possible on to it.

But I couldn't. The QProcess that usually started "rdesktop" inside a
common QWidget, now refuses to start, aborting with an error code of 255.

Any ideas?  Should I use another "winId()"?

I'm using Qt 5.9.6 in a Linux machine.

Thanks!
Francisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180922/e64b4c1b/attachment.html>


More information about the Interest mailing list