Screen.width and screen.height returning invalid values in Harmattan
When using screen.width,screen.height in portrait mode they return the values of 854,480 respectively - which is what they should be in landscape mode. Problem is that width returns 854 which should be the height and height returns 480 which should be the width when in Portrait mode. I am getting the same values for screen.displayWidth, screen.displayHeight. The same works fine in Symbian. Is this any known issue?
To reproduce the problem create a new Harmattan Qt Quick Application in Qt Creator and just print the values in console.
I am using Qt Creator 2.4 with Qt 4.7.4