[Interest] Qt, QML, GraphicsSystem and display orientation
Harri Pasanen
harri at mpaja.com
Sat Sep 22 18:06:26 CEST 2012
Hi,
I observed a strange bug with raster graphics system. Using that, and
setting the screen orientation to landscape does not work.
In 4.7.4 it worked, if I started the the application in landscape. If
started in portrait, the UI appeared in landscape in 360x360 box. With
the latest 4.8.0 on Symbian my landscape UI renders in upside down portrait.
If I use the default graphics system 4.8.0 orientation handling seems to
work, pageOrientation is respected, no strange cropping etc. But when
using raster, no such luck.
Why am I using raster you may ask. This is the comment in code
explaining the issue:
QApplication::setGraphicsSystem("raster");
// without graphics system raster X7 complains "textureQGLTexturePool
cannot reclaim sufficient space for a 640x360"
My problem seems to be a variation of
http://www.developer.nokia.com/Community/Discussion/showthread.php?237555-Nokia-Belle-Refresh-QT-4.8.0-Landscape-mode-rendering-changed-damaged
I ignore if this a symbian specific problem, or would raster graphics
system be broken elsewhere in the similar fashion.
Any ideas?
Harri
More information about the Interest
mailing list