diff --git a/src/plugins/qmlprojectmanager/wizards/templates/app.pro b/src/plugins/qmlprojectmanager/wizards/templates/app.pro
index 756f2865d39e2fd34c33eb9c60e8a7a15e7a341c..697c5b0587bffe213c9053460906c944963d8e18 100644
--- a/src/plugins/qmlprojectmanager/wizards/templates/app.pro
+++ b/src/plugins/qmlprojectmanager/wizards/templates/app.pro
@@ -45,14 +45,17 @@ symbian {
         first.depends = $(first) copyqmlfiles
         QMAKE_EXTRA_TARGETS += first copyqmlfiles
     }
-} else {
-    # TODO: make this work
+} else:if(maemo5|maemo6) {
     for(deploymentfolder, DEPLOYMENTFOLDERS) {
         item = item$${deploymentfolder}
         itemfiles = $${item}.files
         $$itemfiles = $${deploymentfolder}
         itempath = $${item}.path
-        $$itempath = qml
+        $$itempath = /opt/share/qml
         INSTALLS += $$item
     }
+    target.path = /opt/bin
+    INSTALLS += target
+} else {
+   # TODO: make this work
 }
diff --git a/src/plugins/qmlprojectmanager/wizards/templates/cpp/main.cpp b/src/plugins/qmlprojectmanager/wizards/templates/cpp/main.cpp
index 092cedb9ee0d7fa279f65afce996820b8527fdbb..9e0f56038aa0d19926c9d9e569fccd32f3ad9568 100644
--- a/src/plugins/qmlprojectmanager/wizards/templates/cpp/main.cpp
+++ b/src/plugins/qmlprojectmanager/wizards/templates/cpp/main.cpp
@@ -13,6 +13,8 @@ int main(int argc, char *argv[])
 
 #ifdef Q_OS_SYMBIAN
     qmlApp.showFullScreen();
+#elif defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
+    qmlApp.showMaximized();
 #else
     qmlApp.setGeometry(QRect(100, 100, 360, 640));
     qmlApp.show();