Can a single Qt application open windows on more than one X display?

I have a Qt application (works on Linux) that should open an additional window on another X server running on a remote computer.

Is there any way to do this in Qt?

I hope to avoid more complex settings, such as - DMX (virtual X server on top of several other X servers) http://dmx.sourceforge.net/ , or - creating a second application for an additional window, as well as some connection between the two applications

+5
source share
1 answer

You can try creating a new process and setting its DISPLAY environment variable to another X server.

bash, , , :

export DISPLAY=:0.0
./my_qt_application

:0.0 X-.

+1

All Articles