Quantcast
Channel: Qt DevNet forums: QtonPi
Viewing all articles
Browse latest Browse all 92

Qt5 / XRDP / Remote Desktop / DISPLAY not taken into account or other problem? / Ideas?

$
0
0
Hi I set up the Qt for Pi toolchain using bakeqtpi. I mostly got things working. I am using xrdp (X Remote Desktop Protocol) and I connect from Windows where I have a virtual Ubuntu machine on which I run Qt. to work with the Pi display and I was surprised to not see anything appear from the Hello world Qt example even though the debugger showed things were as expected. I had set the DISPLAY environment variable to “:10.0”, which is the id for the RDP display. Nothing showed on the remote display. Launching directly from a Pi-prompt where “DISPLAY” is already “:10.0” did not change anything either. Only when connecting a monitor to the HDMI port brought me “Hello world” on the display. I guess this has something to do with OpenGL, but I’ld still expect Qt to take the display setting into account and complain if that display does not have the required support. Any suggestion on how to get Qt working on a remote desktop display?

Viewing all articles
Browse latest Browse all 92

Trending Articles