[Qt-interest] Re : Re : Rendering widget on Multiple screens
Sean Harmer
sean.harmer at maps-technology.com
Mon Dec 14 12:11:17 CET 2009
Hi,
On Monday 14 December 2009 03:26:20 Nitin Mahajan wrote:
>
> I started multiple screens by setting the QWS_DISPLAY env variable like
> this
>
> export QWS_DISPLAY="Multi: QVFb:0 QVFb:1 QVFb:offset=20,0:2", Is that the
> write way for the example code to work? I think, it is not, cuase the
> mouse cursor is seen on all the screens.
>
> What would be the alternate way to start the multiple screens?
Do you really only want a 20 pixel offset for your third screen from your first?
That seems very small. You are therefore seeing things on all 3 screens since
screens 1 and 2 show the same region and screen 3 is only offset by 20 pixels.
Also I think your are missing a :3 at the end of your statement.
To start with try this:
export QWS_DISPLAY="Multi: QVFb:0 QVFb:offset=640,0:1 :2"
That should give you two displays with the 2nd display offset from the first by
640 pixels in the x-direction.
Once you get this working then try building it up to 3 screens with something
like this:
export QWS_DISPLAY="Multi: QVFb:0 QVFb:offset=640,0:1 QVfb::offset=1280,0:2 :3"
That *should* give you 3 displays with the second one offset from the first by
640 pixels in the x-direction. The 3rd display will be offset from the first
display by 1280 pixels in the x-direction.
Hope this helps,
Sean
More information about the Qt-interest-old
mailing list