forked from qt-creator/qt-creator
Add Maemo support to QML standalone application wizard.
Reviewed-by: Alessandro Portale
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user