On Mon, Nov 02, 2009 at 01:29:03PM +0100, Helge Hafting wrote:
> Pavel Sanda wrote:
>> Edwin Leuven wrote:
>>> Jean-Marc wrote:
>>>> But simultaneous editing by several users is an old dream of ours :)
>>> others are living our dreams:
>>>
>>> http://www.abisource.com/release-notes/2.8.0.phtml
>>
>> and as from last discussion ensued it will remain our dream, unless qt
>> support possibility to have one application with more X displays.
>
> Is there some problem having several displays for a qt app?

That depends on whether you consider "it does not work" a problem.

> The X protocol has no problem with it, of course. To use a particular  
> display, you communicate with the correct host. Qt encapsulates this
> in a nice object oriented interface.

> My suggestion is that you find out what qt object it is that store the
> ip address and so on for the X server connection. Normal single-display  
> apps only have one such object. Try instantiating several such objects,
> possibly connecting to different servers. Ideally, it should work. :-)

The X11 data is handled as a singleton, see 'extern QX11Data
*qt_x11Data' in src/gui/kernel/qt_x11_p.h 

Andre'

Reply via email to