[unsolved]QML is slow in Android
-
QML is slow in Android 4.1 ARMv5 or ARMv7 of 1.2 ghz.
delay in the design of items in listview.
nothing good result.
is not good. In the windows7 was perfect.I'm doing something wrong?
import QtQuick 1.1
Frame {
id: container
width: 200
height: 250
showBorderImage: true;ListModel { id: animalsModel ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} ListElement { menuText: "menuX"} } ListView { id:listView anchors.fill: parent model: animalsModel delegate: Text { width: listView.width text: menuText } }
}
-
Are you using Qt 5? (it's a good idea to do so -- all the recent work in Android support has been exclusive to Qt 5)
Qt Quick 1 is deprecated, and is only provided for Qt 4 compatibility. Use Qt Quick 2 instead -- you should see improvements
-
I have not found what you need to qt5.
Are you able to install?
-
Instructions how to build: http://qt-project.org/wiki/Qt5ForAndroid
While you can wait for Qt 5.1 release later this month.
http://blog.qt.digia.com/blog/2013/03/13/preview-of-qt-5-for-android/
-
Then I'll wait until the end of the month by qt5.1 version.
thank you.
-
Hi
I experienced the same: my app started in 22 segs using QT 5.2.
The solution was to put all qml files in a resource file. Just see the android extras notification example:
Hope this helps