[Qt-qml] on device performance
Cornelius Hald
hald at icandy.de
Wed Dec 15 12:02:00 CET 2010
On Tue, 2010-12-14 at 15:59 +0100, Thomas Perl wrote:
> How would a cross-platform "make it fast" code snippet look like that
> gives the best result on both Maemo and Symbian^3 as well as on
> Desktop platforms and future MeeGo devices?
Even if we don't have fast cross-platform defaults, it would be
interesting what the optimal settings are for the individual platforms.
For example on Symbian^1 (XpressMusic 5880) I get horrible performance
with the defaults.
For Maemo5 I'm getting good (not great) performance with:
#if defined(Q_WS_MAEMO_5)
setAttribute(Qt::WA_OpaquePaintEvent);
setAttribute(Qt::WA_NoSystemBackground);
setViewport(new QGLWidget());
setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
#endif
Cheers,
Conny
More information about the Qt-qml
mailing list