Hi! Actually, the auto rotation in Qt has a bug (QtBug 11190) that makes it work incorrectly. For a working auto-rotation sample, check out the QMaemo5Rotator class in my repo. (header, cpp) Just copy-paste the code files. It is dead easy to use. Code: QMaemo5Rotator *rotator = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior, this); You can change its behaviour in runtime.
QMaemo5Rotator *rotator = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior, this);