Editing QML
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | |||
- | |||
== QML on N900 == | == QML on N900 == | ||
Line 7: | Line 5: | ||
It's a Javascript like language and allow you to build your own application rapidly. And yes, you don't need to really care about your development platform too much. All you need to do is using QmlViewer to examine your code. That's pretty much the same when you run on the device (though might be slightly different because of resolution and performance. And note that currently it's still highly experimental!) | It's a Javascript like language and allow you to build your own application rapidly. And yes, you don't need to really care about your development platform too much. All you need to do is using QmlViewer to examine your code. That's pretty much the same when you run on the device (though might be slightly different because of resolution and performance. And note that currently it's still highly experimental!) | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
=== Building Qt 4.6 with QML === | === Building Qt 4.6 with QML === | ||
Line 72: | Line 52: | ||
Then you will see the program running as same as this [http://labs.trolltech.com/blogs/2009/05/13/qt-declarative-ui/ demo]. | Then you will see the program running as same as this [http://labs.trolltech.com/blogs/2009/05/13/qt-declarative-ui/ demo]. | ||
- | Some | + | Some [http://talk.maemo.org/showthread.php?p=395277#post395277 screenshots] running on N900. |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
=== Conclusion === | === Conclusion === | ||
Finally, here are some few notices / limitation of current Qt4.6-QML: | Finally, here are some few notices / limitation of current Qt4.6-QML: | ||
- | * Performance is not that great yet. You may suffer some tearing issues. Write your Qt app in full screen mode will give you some boost. Another alternative is turning off hildon-desktop | + | * Performance is not that great yet. You may suffer some tearing issues. Write your Qt app in full screen mode will give you some boost. Another alternative is turning off hildon-desktop: |
$ dsmetool -k /usr/bin/hildon-desktop | $ dsmetool -k /usr/bin/hildon-desktop | ||
To turn back on: | To turn back on: | ||
$ dsmetool -t /usr/bin/hildon-desktop | $ dsmetool -t /usr/bin/hildon-desktop | ||
- | + | * Document is bundle inside the source tree. <code>make docs</code> will generate proper document for you. | |
- | * Document is bundle inside the source tree. | + | |
- | + | ||
* <code>-webkit</code> may crash your qmlviewer under N900 if you wish to try. That's why I wrote the code with QmlView binding. If you want to play with qmlviewer, please remove <code>-webkit</code> from your configuration. | * <code>-webkit</code> may crash your qmlviewer under N900 if you wish to try. That's why I wrote the code with QmlView binding. If you want to play with qmlviewer, please remove <code>-webkit</code> from your configuration. | ||
* All credits go to Qt team. Thanks for their help on technical support. If you have any questions / comments, please don't hesitate to visit [http://labs.trolltech.com/page/Projects/Graphics/Kinetic QML Team] and give response. | * All credits go to Qt team. Thanks for their help on technical support. If you have any questions / comments, please don't hesitate to visit [http://labs.trolltech.com/page/Projects/Graphics/Kinetic QML Team] and give response. | ||
* Happy hacking! | * Happy hacking! | ||
- | |||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.