Hi,
I supose that you start the application on the second monitor without using Qt?
What you have to do is to move the application or splash screen(note that are widgets) to the monitor you want using desktop geometry:
//Get desktop geometry available
QRect qAvGeom
= app.
desktop()->availableGeometry
(0);
int iScreen = 2; //Move to second monitor
mainWindow.move((iScreen-1)*(qAvGeom .width()+1),mainWindow.y());
//Get desktop geometry available
QRect qAvGeom = app.desktop()->availableGeometry(0);
int iScreen = 2; //Move to second monitor
mainWindow.move((iScreen-1)*(qAvGeom .width()+1),mainWindow.y());
To copy to clipboard, switch view to plain text mode
This works if the desktop is configured as "expand" or similar.
Bookmarks