Show dialog/frame fullscreen on a second screen sing QT/c++
c++, multiple-monitors, qt, user-interface
Solution
You can retrieve screen information from QDesktopWidget. To move a window to a specific screen, you can do something like this:
QRect screenres = QApplication::desktop()->screenGeometry(screenNumber);
widget->move(QPoint(screenres.x(), screenres.y()));
Problem
I have an application with a secondary view that should be shown fullscreen on the other monitor (the one the main app is not on). Displaying the frame works quite well with `frame.showFullScreen();` But, how can I tell it which screen it should be on? Is there a way to detect if a second screen is avauilable, as well?