Qt 获取屏幕当前分辨率 1 QDesktopWidget *deskTop = QAppliction::desktop() ; 2 int width = deskTop->width(); 3 int height = deskTop->height();