View Full Version : Display a QWidget on a remote computer
tarod
23rd July 2008, 15:12
Hey!
My question is very simple, but the solution is very complex:
How can I display using code ("-display" when I run my application is not an option) a QWidget on a remote computer belongs to my network?
Thanks.
caduel
23rd July 2008, 17:44
well, use setenv("DISPLAY", ...); ;)
(and before createing a QApplication...)
Or do you want to display widgets of a single program on different machines at the same time? Then you need multiple X11 connections. I don't think this is supported by Qt.
aamer4yu
23rd July 2008, 18:33
well, use setenv("DISPLAY", ...);
I dont think we can use this on windows ?? can we ?
caduel
23rd July 2008, 20:18
well, the setenv will be there.
but you're right, it won't help a lot...
(I thought you were using a real OS :p )
tarod
24th July 2008, 08:41
Using X11 and the method XOpenDisplay(IP) is possible.
Is there any method to do the same in Qt?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.