QML2 Books / Tutorials?
-
wrote on 8 Apr 2013, 16:58 last edited by
Anyone have suggestions on either a good book or set of tutorials for QML2? There doesn't seem to be any good resources located in a single place and I end up spending a lot of time hunting around. I'm just learning QML2 and am hoping that someone has put together a good set of tutorials.
-
Qt documentation and examples is a good start. QML1 is almost the same, you can use it's tutorials, too.
-
wrote on 8 Apr 2013, 18:38 last edited by
Hello ggalt,
Unfortunatelly currently all the Qt books out there are discussing at most pre-QML era Qt 4.x. Advanced Qt Programming by Mark Summerfield is a good book if you want to learn some advanced widgets techniques.
You are probably best off looking for QML learning resources in the qt-project docs and wiki:
http://qt-project.org/doc/qt-5.0/qtdoc/qtexamplesandtutorials.html
http://qt-project.org/wiki/Category:Developing_with_Qt::Qt_Quickand in your Qt SDK installation source code's subdir:
.../examples/quick/
and various interesting blogs:
http://cdumez.blogspot.com
http://blog.qt.digia.com/blog/author/jbache/ -
wrote on 8 Apr 2013, 18:51 last edited by
Might want to look in this section:
http://qt-project.org/forums/viewforum/19/ -
wrote on 8 Apr 2013, 18:54 last edited by
Martin:
Thanks for the reply. I had looked at the examples/tutorials on the Qt site, but unfortunately, many of them look uncompleted. For example, if you look at the "samegame" example, all of the code examples are missing (for example:https://qt-project.org/doc/qt-5.0/qtquick/qtquick2-tutorials-samegame-samegame1.html). I haven't had a chance to look at the wiki yet. I'll take a look there.
Thanks again,
George
-
wrote on 8 Apr 2013, 19:04 last edited by
You're right, the online docs seems to be broken at some places. You should be able to view the documentation offline as well. Start your Qt Creator, go to Help -> Contents, then go to Qt 5.0 Reference Documentation -> Tutorials and Examples in the content tree. The docu seems OK there.
-
wrote on 8 Apr 2013, 21:41 last edited by
Thanks, I'll take a look.
-
wrote on 8 Apr 2013, 23:47 last edited by
[quote author="ggalt" date="1365447251"] I had looked at the examples/tutorials on the Qt site, but unfortunately, many of them look uncompleted. For example, if you look at the "samegame" example, all of the code examples are missing[/quote]
This has been a problem for quite a while, 5.0.1 was supposed to fix the doc, but it didn't, looks like Qt is still running behind schedule, thankfully not as bad as with 5.0.
Take a look at those, they are more complete:
http://www.developer.nokia.com/Community/Wiki/A_QML_Memory_Game_Tutorial
http://quitcoding.com/download/Qt_Quick_Game_Programming_1_0.pdf -
wrote on 9 Apr 2013, 00:03 last edited by
Hi,
The 5.0-stable snapshot documentation is far less (although still a little bit) broken than the main page docs which are regenerated at random intervals.
http://doc-snapshot.qt-project.org/qt5-stable/qtquick/qtquick-applicationdevelopers.html
http://doc-snapshot.qt-project.org/qt5-stable/qtqml/qtqml-index.html
http://doc-snapshot.qt-project.org/qt5-stable/qtquick/qtquick-index.htmlThe qml demos link still seems broken in that snapshot though, as does the type registration docs from the QML module docs. What can I say: qdoc is terrible, and the doc team doesn't like hardlinking doc sections via explicit page links, since they want DITA XML output to work properly, and that leaves us between a rock and a hard place as far as documentation is concerned.
As martin_ky said, the offline docs might be better.
Cheers,
Chris. -
wrote on 9 Apr 2013, 12:04 last edited by
In the future perhaps, hopefully, for 5.0 and 5.0.1 doc building failed for me (and not just me) and only HTML docs were generated, and worse than the online version - the missing snippets are still missing, plus there is entire articles that are missing too.
1/10