#include <QApplication>
#include <QDeclarativeView>
#include <QUrl>
#include <MDeclarativeCache>

Q_DECL_EXPORT int main(int argc, char** argv)
{
    QApplication* app = MDeclarativeCache::qApplication(argc, argv);

    QDeclarativeView viewer;
    viewer.setSource(QUrl("qrc:/qml/main.qml"));
    viewer.showFullScreen();

    return app->exec();
}

#include <QApplication>
#include <QDeclarativeView>
#include <QUrl>

int main(int argc, char** argv)
{
    // FIXME: Use the (new?) harmattan booster!!
    QApplication app(argc, argv);

    QDeclarativeView viewer;
    viewer.setSource(QUrl("qrc:/qml/main.qml"));
    viewer.showFullScreen();

    return app.exec();
}

--- 
+++ 
@@ -1,15 +1,15 @@
 #include <QApplication>
 #include <QDeclarativeView>
 #include <QUrl>
+#include <MDeclarativeCache>
 
-int main(int argc, char** argv)
+Q_DECL_EXPORT int main(int argc, char** argv)
 {
-    // FIXME: Use the (new?) harmattan booster!!
-    QApplication app(argc, argv);
+    QApplication* app = MDeclarativeCache::qApplication(argc, argv);
 
     QDeclarativeView viewer;
     viewer.setSource(QUrl("qrc:/qml/main.qml"));
     viewer.showFullScreen();
 
-    return app.exec();
+    return app->exec();
 }
Make luna app boostable to reduce the start up time.
