Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QML2 Books / Tutorials?

    QML and Qt Quick
    5
    10
    3559
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      ggalt 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.

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        Qt documentation and examples is a good start. QML1 is almost the same, you can use it's tutorials, too.

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • martin_ky
          martin_ky 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_Quick

          and 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/

          1 Reply Last reply Reply Quote 0
          • U
            utcenter last edited by

            Might want to look in this section:
            http://qt-project.org/forums/viewforum/19/

            1 Reply Last reply Reply Quote 0
            • G
              ggalt 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

              1 Reply Last reply Reply Quote 0
              • martin_ky
                martin_ky 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.

                1 Reply Last reply Reply Quote 0
                • G
                  ggalt last edited by

                  Thanks, I'll take a look.

                  1 Reply Last reply Reply Quote 0
                  • U
                    utcenter 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

                    1 Reply Last reply Reply Quote 0
                    • C
                      chrisadams 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.html

                      The 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.

                      1 Reply Last reply Reply Quote 0
                      • U
                        utcenter 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 Reply Last reply Reply Quote 0
                        • First post
                          Last post