Em Friday, 6 de May de 2011, às 13:02:38, Cornelius Hald escreveu:
> On Fri, 2011-05-06 at 13:42 +0300, Ville M. Vainio wrote:
> > The spec says there should be orientationLock:
> >
> > http://bugreports.qt.nokia.com/browse/QTCOMPONENTS-373
> >
> > Apparently, there isn't, file a bug :).
>
> Hmm, you're revering to Qt Compontents. I don't use them, so I'd need a
> pure Qt solution.
>
> > > For MeeGo I'm using Qt::WA_LockPortraitOrientation which was
> > > included in Qt 4.7.2. Should it work? Are there other options?
> >
> > Those only work on Symbian AFAICT.
>
> To me it looks like that API would be the way to go.
> Also interesting if I use the QML/C++ Wizzard in MeeGo SDKs Qt Creator,
> it creates code using this API.

The WA things work by telling the window manager what to do. On MeeGo, with
mcompositor, the window manager doesn't do anything (or didn't use to).

It's the application that drew itself 90° rotated. That means pure Qt apps
simply don't rotate unless you write the rotation code itself. If you're using
MTF classes, this is implemented there though.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to