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 _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
