Qt get window size. Build and run, size the main window .