Supposedly by including QDesktopWidget and QRect windows will open in the center of display.