Qt 获取屏幕当前分辨率

1 QDesktopWidget *deskTop = QAppliction::desktop() ;
2 int width = deskTop->width();
3 int height = deskTop->height();
原文地址:https://www.cnblogs.com/jiangson/p/7660953.html