Meego Wiki
Views
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Available tutorials)
 
(18 intermediate revisions not shown)
Line 9: Line 9:
* There is not much QML documentation specific to MeeGo.
* There is not much QML documentation specific to MeeGo.
* The QML on MeeGo "developer story" is not that clear to me yet.
* The QML on MeeGo "developer story" is not that clear to me yet.
-
* As I'm learning, I write things down anyway. So I may as well publish if for other people who might find it useful.
+
* As I'm learning, I write things down anyway. So I may as well publish it, as other people might find it useful too.
There will doubtless be overlap with other tutorials/blogs/official docs, but having all this stuff in one place, tailored for MeeGo, might be useful to others.
There will doubtless be overlap with other tutorials/blogs/official docs, but having all this stuff in one place, tailored for MeeGo, might be useful to others.
Line 15: Line 15:
Having said all that, the existing QML docs are the best place to start learning QML if you've never used it before.
Having said all that, the existing QML docs are the best place to start learning QML if you've never used it before.
-
== What's available so far? ==
+
== Available tutorials ==
-
* [[QML: creating a transparent window]]: how to run a QML application in a semi-transparent window.
+
* [[QML/Creating a transparent window]]: how to run a QML application in a semi-transparent window.
-
* [[QML: keyboard navigation]]: how to create a QML application which is navigable by keyboard alone.
+
* [[QML/Keyboard navigation]]: how to create a QML application which is navigable by keyboard alone.
-
* [[QML: internationalisation]]: how to internationalise a QML application.
+
* [[QML/Internationalisation]]: how to internationalise a QML application.
 +
* [[QML/Full-screen applications]]: how to configure a QML application to fill the screen, run maximized, or run "truly" full-screen.
 +
* [[QML/QSqlTableModel ]]: how to use QSqlTableModel in QML (under construction).
 +
* [[QML/QGraphicsGeoMap]]: how to use a QGraphicsGeoMap in QML.
 +
* [[QML/Get GPS data]]: How to get GPS data into your QML application
 +
* [[QML/FileSelector]]: A file selector dialog following the Qt components styling
-
Eventually they should probably go into a <code>/QML/</code> namespace, so these locations may be temporary.
+
== Tips ==
 +
 
 +
* You can open your qml -file with Qt Creators Design -editor. It is really useful for sorting out possible errors in the code.
 +
** A lot faster than compiling the code and running in the simulator/N950 just to get a blank black screen.
 +
** Gives you straight link into the problematic code line
== Other documentation ==
== Other documentation ==
-
You're probably going to want to look at the QML elements documentation while you go through these recipes. You can find it at http://doc.qt.nokia.com/4.7/qdeclarativeelements.html.
+
You're probably going to want to look at the QML elements documentation while you go through these tutorials. You can find it at http://doc.qt.nokia.com/4.7/qdeclarativeelements.html.
http://doc.qt.nokia.com/4.7/ might come in useful, too, if you want to learn more about Qt and go through the official tutorials.
http://doc.qt.nokia.com/4.7/ might come in useful, too, if you want to learn more about Qt and go through the official tutorials.
 +
 +
[[Category:tutorial]]
 +
[[Category:qml]]

Latest revision as of 09:45, 27 July 2011

This is a place for QML tutorials I (User:Elliot) am writing as I learn QML.

Contents

Why?

Why am I writing this? After all, there is already plenty of documentation for QML/Qt Quick: for example, http://doc.qt.nokia.com/4.7/qtquick.html.

My reasons:

  • There is not much QML documentation specific to MeeGo.
  • The QML on MeeGo "developer story" is not that clear to me yet.
  • As I'm learning, I write things down anyway. So I may as well publish it, as other people might find it useful too.

There will doubtless be overlap with other tutorials/blogs/official docs, but having all this stuff in one place, tailored for MeeGo, might be useful to others.

Having said all that, the existing QML docs are the best place to start learning QML if you've never used it before.

Available tutorials

Tips

  • You can open your qml -file with Qt Creators Design -editor. It is really useful for sorting out possible errors in the code.
    • A lot faster than compiling the code and running in the simulator/N950 just to get a blank black screen.
    • Gives you straight link into the problematic code line

Other documentation

You're probably going to want to look at the QML elements documentation while you go through these tutorials. You can find it at http://doc.qt.nokia.com/4.7/qdeclarativeelements.html.

http://doc.qt.nokia.com/4.7/ might come in useful, too, if you want to learn more about Qt and go through the official tutorials.

Personal tools