Hi there,
I just have the following problem:
I have a machine with two nvidia cards and running a Xubuntu (11.10).
Now what i am trying to do is spawn a window on my extended screen which is connected to the secondary graphics card.
QGuiApplication::screens().size() returns 2 for my two screens which is correct so far. My secondary graphics card is running in a seperate X server (which is the usual way to do that i guess). But if i create my window as follows
QWindow w(QGuiApplication::screens()->at(1)); w->show();
The whole application crashes without any message! (is that normal?)
Now i am using Xinerama to have it more “Windows like”. But now QGuiApplication::screens()->size() returns 1, which is not correct in my oppinion. Is there another way to have access to the QScreen which represents the screen connected to my second graphics card?
I also tried the virtualSiblings thing of QScreen but there is only one instance and it is the same as my primary screen!
HELP?
Thanks
↧