Meego Wiki
Views
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Available tutorials)
(Available tutorials)
 
(11 intermediate revisions not shown)
Line 20: Line 20:
* [[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, and/or run truly full-screen or maximized.
+
* [[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
 +
 
 +
== 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 ==
Line 27: Line 37:
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