On Fri, 2011-05-06 at 15:21 +0200, Thiago Macieira wrote:
> Em Friday, 6 de May de 2011, às 15:16:32, Cornelius Hald escreveu:
> > On Fri, 2011-05-06 at 15:05 +0200, Thiago Macieira wrote:
> > > Em Friday, 6 de May de 2011, às 14:46:15, Cornelius Hald escreveu:
> > > > I thought I'll try a workaround and use MTF only for rotation.
> > > > Unfortunately it looks like that's not that easy since MWindow and
> > > > QWidget are not quite compatible.
> > > > 
> > > > I really hope we get some framework support for that.
> > > 
> > > You're using QWidget?
> > 
> > I'm using QDeclarativeView as my root widget, which is a QWidget. How
> > else could I use QML? Can I somehow use QML without QDeclarativeView?
> 
> Ah, no problem then. But you need to get the sensors information from the 
> Mobility Sensors and apply the transform yourself and animate however you 
> want.
> 
> Components (both of them) do it for you.
> 
> > Wouldn't a work-around be to rotate my root QML item? If yes, where do I
> > get the physical orientation of the device from? Is there Qt API for
> > that?
> 
> Yes, use the Sensors.

Alright. I'll look into this over the weekend. Let's see how I can do
that in a way compatible with Maemo5 and Symbian.

Thanks Thiago, Robin and Christophe!
Conny


_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to