You are not logged in.


Tuesday, May 24th 2011, 11:06am

Disable the display automatic rotation.


I'm writing an application for S60 5th Edition using Qt.

Since I'm using Linux and QtSDK 1.1 I have to compile the application
with the Remote Compiler provided by Nokia (stable Qt 4.6.3 and
Mobility 1.0.2).

In the application I would like to disable the display rotation.
All the samples I found use the native Symbian libraries
to lock the display to a fixed position but, unfortunately, these
libraries cannot be used in the Remote Compiler because I have
to use the dll paths. This is easy with windows because I can have
the dlls in my computer, but I do not have access to the paths
in the Remote Compiler.

The Qt code that forces a display orientation (Qt Creator 2.1) works only with
MainWindow and not for Dialogs. (Or at least I couldn't make it work).

Is there a way to disable the display automatic rotation that can
be compiled with the Remote Compiler and Linux?

Thank you in advanced for your help.

My work environment

- Linux openSUSE 11.3
- Qt Creator 2.2.0
- Qt 4.6.3 with Mobility 1.0.2
- Remote Compiler to generate the file. sis

Best regards,

Joan Carles.


Monday, May 30th 2011, 5:59pm

Hello again.

I searched for more information and have found this:…_Qt_for_Symbian

but only works with Windows operating systems and I work with linux systems.


Joan Carles.