can you explain more how to enable the sound from script.js ? and how to enable opengl? (because the game run very slow on my n900) thanx in advance
QmlApplicationViewer::QmlApplicationViewer(QWidget *parent) : QDeclarativeView(parent) , d(new QmlApplicationViewerPrivate()) { #ifdef Q_WS_MAEMO_5 setAttribute(Qt::WA_Maemo5LandscapeOrientation); engine()->addImportPath(QString("/opt/qtm11/imports")); engine()->addPluginPath(QString("/opt/qtm11/plugins")); setViewport(new QGLWidget); #endif setViewportUpdateMode(QGraphicsView::FullViewportUpdate); setAttribute(Qt::WA_OpaquePaintEvent); setAttribute(Qt::WA_NoSystemBackground); viewport()->setAttribute(Qt::WA_OpaquePaintEvent); viewport()->setAttribute(Qt::WA_NoSystemBackground); . . .