Hi, On Tue, Dec 13, 2011 at 6:43 PM, Bogdan Cristea <[email protected]> wrote: > doesn't seem to have any effect on ExoPC tablet running MeeGo even if the OS > GUI changes orientation. Should I use instead QOrientationReading class ?
For QWidget based applications, you won't have an easy time of doing rotation on MeeGo. You'll have to use QWidget::render() into a QPixmap (or QImage), then draw that translated into your 'parent' widgets by overriding QWidget::paintEvent. The API you refer to only works with Symbian, as far as I know (and, as a result of confusions like this, I've just proposed removing it from Qt 5: http://lists.qt-project.org/pipermail/development/2011-December/000860.html) Alternatively, if you're working on Harmattan, you could use QML (which allows doing things like this a lot easier) - qt-components even handles the orientation for you. If this is MeeGo tablet UX (for whatever reason you'd be working on that nowdays), then I think meego-ux-components also handle that for you. BR, Robin _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines
