I need to get it working in a Qt4 project, both on OSX and Win32. Seems to be possible with native controls (see here and here) so now I'm looking for some Qt code to do it. Thanks in advance!
+2
A:
I use this code for the second display in full screen successfully on both Windows & Linux
QRect screenres = QApplication::desktop()->screenGeometry(1/*screenNumber*/);
SecondDisplay secondDisplay = new SecondDisplay(); // Use your QWidget
secondDisplay->move(QPoint(screenres.x(), screenres.y()));
secondDisplay->resize(screenres.width(), screenres.height());
secondDisplay->showFullScreen();
mmonem
2010-07-08 13:04:23