[Qt-interest] How to get screen resolution?

Ross Bencina rossb-lists at audiomulch.com
Thu Jun 30 08:36:58 CEST 2011


> I am using Qt4.2.2. How can I get the screen resolution in Qt.

QApplication::desktop()->screenGeometry();

See QDesktopWidget for other possibilities.


Ross.



More information about the Qt-interest-old mailing list