Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Sample code demonstrating multi monitor support in Qt
jeevan_reddy last edited by
I need a sample code which demonstrates an application using multi monitor support on desktop.
Basically the application's main window should run on primary screen and its child widgets on other secondary screens.
See "QDesktopWidget":http://qt-project.org/doc/qt-5/qdesktopwidget.html and "QScreen":http://qt-project.org/doc/qt-5/qscreen.html.
agocs last edited by
QScreen and friends will not really help you here since they represent displays that are connected. AFAIK there is nothing that could tell you the potential maximum number of screens.