|
multiple displays on QT5.2 and QNX 6.5.0
|
05/03/2014 11:14 AM
post110136
|
multiple displays on QT5.2 and QNX 6.5.0
Dear all,
My app is written in QT 5.2 (and QT3D) and compiled for QNX 6.5.0 (arm-v7).
My QNX host is able to support 2 displays, but the displays are independent to one another (no “extended” mode).
The app is intended to run on both displays and using the mouse,to be able to move objects from one display to the other
(like in Windows, when you move a window from one screen to the other).
Part of the app is already written and running on one display – now I have to make it work for 2 displays.
The app extends QWindow and I was able to make the app running on either the first display on the second (using
setScreen(QGuiApplication::screens()[1]); //0 or 1)
I have 2 big issues:
1) As it seems that I can’t use the “extended” display mode (like in Windows) what do you suggest for me in order to
easily move one object from one display to the other?
I was thinking of:
- Trying to see if the video buffers can be shared between multiple screens – any hints on this matter?
- Only one app, and 2 QWindow objects, one object displayed on one screen; how can I share info (mouse info, etc.)
between them?
- Message passing between 2 separate apps (last resort), one app running on one screen
Is there any other way in QT to be able to do that ?
2) In my current QNX configuration, the mouse is associated with screen:0 alone. Is there a way to configure it like in
the “extended” mode display ?
(be able to use the same mouse for 2 displays, as I want to give the “Windows extended display” impression)
I wasn’t able to do that using graphics.conf.
Any suggestions are highly appreciated !
Thanks,
Rux
|
|
|