Add Maemo support to QML standalone application wizard.

Reviewed-by: Alessandro Portale
This commit is contained in:
ck
2010-07-28 12:47:55 +02:00
parent 60f68080ff
commit b76cf034de
2 changed files with 8 additions and 3 deletions

View File

@@ -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
}

View File

@@ -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();