Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to put different widgets on different (real) screens?
marius63 last edited by
I need to put different widgets on different (real) screens.
Qt reports the correct number of screens, but also reports virtual desktop mode, so I cannot reference each real screen can I?
How does one undo virtual desktop mode?
And how does one put a certain widget on a certain (real) screen?
I am using http://qt-project.org/doc/qt-4.8/qdesktopwidget.html
Does Qt 5 improve this?
Thanks a lot.
You can use the availableGeometry(int screen) method to get the rectangle for the given screen and use that to place you widgets.