[Development] Another late API addition in QScreen

Samuel Rødal samuel.rodal at nokia.com
Tue Jun 5 14:29:44 CEST 2012


Hello,

the current QScreen API forces the platform to always have an
accelerometer sensor or similar running in order to provide
QScreen::orientation() updates, which might lead to wasted resources in
the case of handheld embedded devices.

As a fix for this I've introduced a new function in QScreen,
setOrientationUpdateMask(), in order force the application to explicitly
have to ask for orientation updates.

https://codereview.qt-project.org/#change,27981

--
Samuel



More information about the Development mailing list