Skip to content
Snippets Groups Projects
Commit b76cf034 authored by ck's avatar ck
Browse files

Add Maemo support to QML standalone application wizard.

Reviewed-by: Alessandro Portale
parent 60f68080
No related branches found
No related tags found
No related merge requests found
...@@ -45,14 +45,17 @@ symbian { ...@@ -45,14 +45,17 @@ symbian {
first.depends = $(first) copyqmlfiles first.depends = $(first) copyqmlfiles
QMAKE_EXTRA_TARGETS += first copyqmlfiles QMAKE_EXTRA_TARGETS += first copyqmlfiles
} }
} else { } else:if(maemo5|maemo6) {
# TODO: make this work
for(deploymentfolder, DEPLOYMENTFOLDERS) { for(deploymentfolder, DEPLOYMENTFOLDERS) {
item = item$${deploymentfolder} item = item$${deploymentfolder}
itemfiles = $${item}.files itemfiles = $${item}.files
$$itemfiles = $${deploymentfolder} $$itemfiles = $${deploymentfolder}
itempath = $${item}.path itempath = $${item}.path
$$itempath = qml $$itempath = /opt/share/qml
INSTALLS += $$item INSTALLS += $$item
} }
target.path = /opt/bin
INSTALLS += target
} else {
# TODO: make this work
} }
...@@ -13,6 +13,8 @@ int main(int argc, char *argv[]) ...@@ -13,6 +13,8 @@ int main(int argc, char *argv[])
#ifdef Q_OS_SYMBIAN #ifdef Q_OS_SYMBIAN
qmlApp.showFullScreen(); qmlApp.showFullScreen();
#elif defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
qmlApp.showMaximized();
#else #else
qmlApp.setGeometry(QRect(100, 100, 360, 640)); qmlApp.setGeometry(QRect(100, 100, 360, 640));
qmlApp.show(); qmlApp.show();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment