Quote Originally Posted by d_stranz View Post
Look at QDesktopWidget documentation for information about multi-head systems. By determining whether the target system has a virtual desktop or more than one screen, you can decide how and where to position your viewports. Look at QGLWidget for information on using OpenGL within Qt. Plenty of examples in the Qt distribution on using OpenGL, so look at those too.
Thank you for your answer.

My idea is to make two widgets which inherit from QGLWidget without a parent and make them fullscreen on the screens. This is already working manually, i will check later if i can use QDesktopWidget to automatically do this (priority is with the opengl-scene at the moment).
To link them i wanted to make some object which inherits QObject and connect some of it's signals to slots of the opengl-widgets.

Any advice on this?