Qt 5.3
Screen Orientation
Qt 5.3.2 Reference Documentation
Screen Orientation
This example shows how to implement screen orientation support for your application.