(→Available tutorials) |
(→Available tutorials) |
||
| (4 intermediate revisions not shown) | |||
| Line 23: | Line 23: | ||
* [[QML/QSqlTableModel ]]: how to use QSqlTableModel in QML (under construction). | * [[QML/QSqlTableModel ]]: how to use QSqlTableModel in QML (under construction). | ||
* [[QML/QGraphicsGeoMap]]: how to use a QGraphicsGeoMap in QML. | * [[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 | ||
| + | |||
| + | == 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 == | ||
This is a place for QML tutorials I (User:Elliot) am writing as I learn QML.
Contents |
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 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.
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.