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:
-
[[Category:Qt]]
+
[[Category:Qt|Development]]
-
[[Category:Development]]
+
== QML on N900 ==
== QML on N900 ==
Line 7: Line 6:
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!)
-
 
-
A small example on QML use [[QML-EnhancedCalcExample]]
 
-
 
-
== QtScript ==
 
-
[http://doc.trolltech.com/4.6/qtscript.html Qt Script 4.6]
 
-
 
-
[http://qt.linux-life.net/4/doc/ja/porting-qsa.html Tutorial on Qt Scripting]
 
-
 
-
=== Binary Package ===
 
-
Binary package is available on [[Extras-devel|extras-devel]] now:
 
-
* libqt4-maemo5-declarative: The QtDeclarative library
 
-
* libqt4-maemo5-declarative-dev: The development package, contains the headers for QtDeclarative
 
-
* libqt4-maemo5-declarative-dbg: The debugging symbols, for more meaningful backtraces
 
-
* qt4-maemo5-declarative-qmlviewer: The “player” for QML based apps
 
-
* qt4-maemo5-samegame: The SameGame demo
 
-
 
-
To install qt4-maemo5-samegame example, simple type the command within your console with root permission:
 
-
<code>apt-get install qt4-maemo5-samegame</code>
 
=== Building Qt 4.6 with QML ===
=== Building Qt 4.6 with QML ===
Line 72: Line 53:
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 screenshots running on N900:
+
Some [http://talk.maemo.org/showthread.php?p=395277#post395277 screenshots] running on N900.
-
 
+
-
[[Image:Screenshot1.png|400px]]
+
-
[[Image:Screenshot2.png|400px]]
+
-
[[Image:Screenshot3.png|400px]]
+
=== Conclusion ===
=== Conclusion ===
Line 85: Line 62:
To turn back on:
To turn back on:
  $ dsmetool -t /usr/bin/hildon-desktop
  $ dsmetool -t /usr/bin/hildon-desktop
-
* On PR1.1 and onwards all fullscreen applications are automatically non-composited, so no trickery like the above is needed on N900 once that drops to end users devices.
 
* Document is bundle inside the source tree. Execute the following command will generate proper document for you:
* Document is bundle inside the source tree. Execute the following command will generate proper document for you:
  $ make docs
  $ make docs
Line 91: Line 67:
* 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!
-
 
-
=== External Link ===
 
-
* [http://labs.trolltech.com/blogs/2009/12/17/qt-declarative-for-maemo-5/ Qt Labs Blogs: Qt Declarative for Maemo 5]
 
-
* [http://labs.trolltech.com/forums/forum/14 Qt Declarative UI Team Forum]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)
Retrieved from "http://wiki.maemo.org/QML"