May be u can use
QRect scr = QApplication::desktop()->screescreenGeometry(0);
0, to indicate the first screen