Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. A complete reference on Qt5
Forum Updated to NodeBB v4.3 + New Features

A complete reference on Qt5

Scheduled Pinned Locked Moved Solved General and Desktop
26 Posts 7 Posters 9.3k Views 4 Watching
  • 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.
  • tomyT Offline
    tomyT Offline
    tomy
    wrote on last edited by
    #1

    Hello guys,

    Isn't there a complete reference on Qt5 yet?
    Apparently we should wait for a decade to see a new complete book on qt5!

    1 Reply Last reply
    0
    • miclandM Offline
      miclandM Offline
      micland
      wrote on last edited by
      #2

      You mean a paper based book or what?
      Or what are you missing on http://doc.qt.io/?

      1 Reply Last reply
      0
      • dream_captainD Offline
        dream_captainD Offline
        dream_captain
        wrote on last edited by
        #3

        The actual list of books can be found here https://wiki.qt.io/Books.

        1 Reply Last reply
        1
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          I think the "official" reference is now http://qmlbook.github.io/ but I'm not sure it's a great starting point but that's just my opinion

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          0
          • tomyT Offline
            tomyT Offline
            tomy
            wrote on last edited by
            #5

            @micland: Yes. A complete reference.

            @dream_captain : But none of the Qt5 books is a complete one. What I need I think is something like a new version of Introduction to Design Patterns in C++ with Qt (2nd Edition)

            @VRonin: For what platform is that QML book useful?

            VRoninV 1 Reply Last reply
            1
            • tomyT tomy

              @micland: Yes. A complete reference.

              @dream_captain : But none of the Qt5 books is a complete one. What I need I think is something like a new version of Introduction to Design Patterns in C++ with Qt (2nd Edition)

              @VRonin: For what platform is that QML book useful?

              VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by
              #6

              @tomy said in A complete reference on Qt5:

              @VRonin: For what platform is that QML book useful?

              That is maintained by the Qt community. Interface design is QML focused, as you noticed, so it fits all platform (even mobile and embedded).

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              1 Reply Last reply
              1
              • tomyT Offline
                tomyT Offline
                tomy
                wrote on last edited by tomy
                #7

                But the question is, is this book suitable for a beginner of Qt?

                mrjjM 1 Reply Last reply
                0
                • tomyT tomy

                  But the question is, is this book suitable for a beginner of Qt?

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by mrjj
                  #8

                  @tomy
                  Yes, its beginner friendly if you want to use QML.

                  tomyT 1 Reply Last reply
                  1
                  • mrjjM mrjj

                    @tomy
                    Yes, its beginner friendly if you want to use QML.

                    tomyT Offline
                    tomyT Offline
                    tomy
                    wrote on last edited by
                    #9

                    @mrjj: Let me ask you a question. For what platforms can we write real applications using that QML?
                    And another question, what skills do we need to be able to correctly start reading it?

                    mrjjM 1 Reply Last reply
                    0
                    • tomyT tomy

                      @mrjj: Let me ask you a question. For what platforms can we write real applications using that QML?
                      And another question, what skills do we need to be able to correctly start reading it?

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by mrjj
                      #10

                      @tomy
                      QML support most platforms.
                      What do you mean by real application?
                      QML is very good for mobile and modern GUIs but
                      might not be as suitable for a traditional desktop application.

                      Mostly basic programming skills as it also give intro to editor etc.
                      It follows very good after
                      http://doc.qt.io/qt-5/qmlapplications.html

                      tomyT 1 Reply Last reply
                      2
                      • mrjjM mrjj

                        @tomy
                        QML support most platforms.
                        What do you mean by real application?
                        QML is very good for mobile and modern GUIs but
                        might not be as suitable for a traditional desktop application.

                        Mostly basic programming skills as it also give intro to editor etc.
                        It follows very good after
                        http://doc.qt.io/qt-5/qmlapplications.html

                        tomyT Offline
                        tomyT Offline
                        tomy
                        wrote on last edited by
                        #11

                        @mrjj
                        By real applications, I meant those which are in the market.
                        To summarize the matter, can we say QML is the best choice to use C++ to create apps for platforms like iOS, Android and Windowsphones?

                        And is Introduction to Design Patterns in C++ with Qt (2nd Edition) a good and complete reference to write apps for Windows, Linux and Unix?

                        Do you agree?

                        1 Reply Last reply
                        0
                        • VRoninV Offline
                          VRoninV Offline
                          VRonin
                          wrote on last edited by
                          #12

                          I wouldn't downgrade QML to "the mobile GUI"

                          I learned everything I know from "C++ GUI Programming with Qt 4" and "Advanced Qt Programming: Creating Great Software with C++ and Qt 4" which have their big flaws of course and they do not cover QML at all. I wouldn't consider the recent "cookbook" as a great reference though.

                          I personally don't think there is a complete reference in one place

                          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                          ~Napoleon Bonaparte

                          On a crusade to banish setIndexWidget() from the holy land of Qt

                          tomyT 1 Reply Last reply
                          2
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            Hi,

                            Qt 5 is not a revolution it's an evolution from Qt 4 so to summarize a bit:

                            • Good books for Qt 4 still applies for Qt 5 with some minor adaptation from time to time
                            • QML can be used for both desktop and mobile application. It's up to you to decide whether widgets or Qt Quick fits your use case better.
                            • The usual architecture of a QML application is: GUI with Qt Quick for all the nice bells and whistles you have at disposal and backend code in C++ for performance.

                            If you want a big example of QML + Qt, take a look at KDE

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            3
                            • VRoninV VRonin

                              I wouldn't downgrade QML to "the mobile GUI"

                              I learned everything I know from "C++ GUI Programming with Qt 4" and "Advanced Qt Programming: Creating Great Software with C++ and Qt 4" which have their big flaws of course and they do not cover QML at all. I wouldn't consider the recent "cookbook" as a great reference though.

                              I personally don't think there is a complete reference in one place

                              tomyT Offline
                              tomyT Offline
                              tomy
                              wrote on last edited by tomy
                              #14

                              @VRonin: By "which have their big flaws of course", did you mean that big flaws is that, those two books don't cover QML?
                              & @SGaist:
                              Now guys, what would be your advice for a person if they wanted to be able to create apps for many platforms, like: Windows, iOS, Android, Embedded systems, Linux and Unix?
                              To me, I should start reading these two books at the same time:

                              • C++ GUI Programming with Qt 4 (2nd Edition) - The official C++/Qt book
                              • Qt5 Cadaques

                              Do you agree completely?

                              VRoninV 1 Reply Last reply
                              0
                              • tomyT tomy

                                @VRonin: By "which have their big flaws of course", did you mean that big flaws is that, those two books don't cover QML?
                                & @SGaist:
                                Now guys, what would be your advice for a person if they wanted to be able to create apps for many platforms, like: Windows, iOS, Android, Embedded systems, Linux and Unix?
                                To me, I should start reading these two books at the same time:

                                • C++ GUI Programming with Qt 4 (2nd Edition) - The official C++/Qt book
                                • Qt5 Cadaques

                                Do you agree completely?

                                VRoninV Offline
                                VRoninV Offline
                                VRonin
                                wrote on last edited by VRonin
                                #15

                                @tomy said in A complete reference on Qt5:

                                @VRonin: By "which have their big flaws of course", did you mean that big flaws is that, those two books don't cover QML?

                                No, bigger ones unfortunately, for example:

                                • Threading (using QThread) chapters in those books should be burnt and forgotten
                                • the HTTP/FTP part of C++ GUI Programming has been made (almost) obsolete in Qt5
                                • same thing for the Audio/Video part of Advanced Qt Programming
                                • the delegate painting in AQP still hurts my eyes if I look at it.
                                • C++ GUI Programming with Qt 4 (2nd Edition) - The official C++/Qt book
                                • Qt5 Cadaques

                                Do you agree completely?

                                I think I do. But I wouldn't discard AQP, the entire model/view and QGraphicsScene frameworks are treated so much better in there

                                "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                                ~Napoleon Bonaparte

                                On a crusade to banish setIndexWidget() from the holy land of Qt

                                tomyT 1 Reply Last reply
                                2
                                • VRoninV VRonin

                                  @tomy said in A complete reference on Qt5:

                                  @VRonin: By "which have their big flaws of course", did you mean that big flaws is that, those two books don't cover QML?

                                  No, bigger ones unfortunately, for example:

                                  • Threading (using QThread) chapters in those books should be burnt and forgotten
                                  • the HTTP/FTP part of C++ GUI Programming has been made (almost) obsolete in Qt5
                                  • same thing for the Audio/Video part of Advanced Qt Programming
                                  • the delegate painting in AQP still hurts my eyes if I look at it.
                                  • C++ GUI Programming with Qt 4 (2nd Edition) - The official C++/Qt book
                                  • Qt5 Cadaques

                                  Do you agree completely?

                                  I think I do. But I wouldn't discard AQP, the entire model/view and QGraphicsScene frameworks are treated so much better in there

                                  tomyT Offline
                                  tomyT Offline
                                  tomy
                                  wrote on last edited by
                                  #16

                                  I think I do. But I wouldn't discard AQP, the entire model/view and QGraphicsScene frameworks are treated so much better in there

                                  I don't know of AQP. Do you suggest me to read also another book (this one on AQP) with the previous two? If so, wouldn't it be too hard for a beginner of Qt to read 3 books at the same time?

                                  1 Reply Last reply
                                  0
                                  • VRoninV Offline
                                    VRoninV Offline
                                    VRonin
                                    wrote on last edited by
                                    #17

                                    AQP is just short for "Advanced Qt Programming: Creating Great Software with C++ and Qt 4" I would read it last. start with C++ GUI Programming if you go through it you'll be able to design Qt desktop applications (so widows, mac, linux). Qt5 Cadaques will introduce you to QML and how to design UI with it for all devices type and platforms. AQP will give you more insight on how to efficiently use Qt most popular framework, after reading this you'll start despising any use of QTableWidget (and relatives) and how little sense the difference in model columns management differences from QtWidgetsa and QML makes.

                                    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                                    ~Napoleon Bonaparte

                                    On a crusade to banish setIndexWidget() from the holy land of Qt

                                    1 Reply Last reply
                                    1
                                    • tomyT Offline
                                      tomyT Offline
                                      tomy
                                      wrote on last edited by
                                      #18

                                      OK, thank you.

                                      But only a little misunderstanding. Do you suggest me to read the books (C++ GUI Programming Qt4 & Qt5 Cadaques) simultaneously or first reading the book C++ GUI Programming and after finishing it, start to read Qt5 Cadaques?

                                      VRoninV 1 Reply Last reply
                                      0
                                      • tomyT tomy

                                        OK, thank you.

                                        But only a little misunderstanding. Do you suggest me to read the books (C++ GUI Programming Qt4 & Qt5 Cadaques) simultaneously or first reading the book C++ GUI Programming and after finishing it, start to read Qt5 Cadaques?

                                        VRoninV Offline
                                        VRoninV Offline
                                        VRonin
                                        wrote on last edited by
                                        #19

                                        @tomy I'd say C++ GUI Programming first but that's my personal opinion

                                        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                                        ~Napoleon Bonaparte

                                        On a crusade to banish setIndexWidget() from the holy land of Qt

                                        mrjjM 1 Reply Last reply
                                        1
                                        • VRoninV VRonin

                                          @tomy I'd say C++ GUI Programming first but that's my personal opinion

                                          mrjjM Offline
                                          mrjjM Offline
                                          mrjj
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #20

                                          I must second @VRonin that
                                          C++-GUI-Programming-with-Qt-4 is great to read first.

                                          http://www.bogotobogo.com/cplusplus/files/c-gui-programming-with-qt-4-2ndedition.pdf

                                          1 Reply Last reply
                                          1

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved