A new book on Qt

  • Hi,

    The last time I asked this question was about months ago and don't know if there is any book on Qt 5 or not, for this time.
    At that time there were only Qt5 Cadaques, Docs and C++-GUI-Programming-with-Qt-4-2ndEdition and in practice these was no complete book on qt 5.

    How about now, please? No complete book on Qt 5?

  • Lifetime Qt Champion


    And, AFAIK, there are still none. Currently you can't expect to have one book covering absolutely all aspects of Qt 5. Writing a book on a framework the size of Qt 5 is a long task that take several months as full time job and concerns not only writing the text but also crafting the examples and making sure everything is clear for the target audience.

    So now take for example: the Qt3D module and QtWebEngine, they are pretty new , how would you have them added now to a book started last year ?

  • Moderators

  • One question here:
    As a starter of Qt I'm reading the C++-GUI-Programming-with-Qt-4-2nd Edition book and have read first three chapters up to now. Is it better to leave out reading it and instead start reading Mastering Qt 5 book?
    It's newer and also covers qt5.

  • Moderators

    it's no disadvantage to read the book. Most of the source code is still applicable for Qt5.
    But some instructions (e.g. for building, etc.) might not be applicable and confusing. You can continue reading the book you have and if you encounter it too confusing you can still switch to a newer one.

  • Lifetime Qt Champion

    That book is worth reading because it provides very good advices. Like @raven-worx wrote, there might be some details that have changed from Qt 4 to Qt 5. If you encounter such a change, you should be able to find what to do in the Qt 5 porting guide.

    One of the major thing to take into account is that the widgets are now in their own module, so if you have a build error regarding them, the first thing to do is to add QT += widgets to your .pro file.

  • @tomy

    I think the majority of people here stepped into the world of Qt at the 4.x era (or before) so we probably only know deeply the resources for Qt4.

    C++-GUI-Programming-with-Qt-4 is a great place to start but some important chapters definitely show their age. notably the threading and networking parts.

    Looking only at the index (i.e. I can't judge the quality of the book itself because I did not read it), if I had to rate the books on Qt5 based on the point of view of a newcomer that wants to learn I'd say:

    Book Core Widgets QML
    Learning Qt 5 ⭐⭐⭐⭐ ⭐⭐⭐ ⭐⭐⭐⭐
    Mastering Qt 5 ⭐⭐⭐ ⭐⭐⭐ ⭐⭐⭐
    Qt5 C++ GUI Programming Cookbook ⭐⭐ ⭐⭐ ⭐⭐
    Qt 5 Cadaques ⭐⭐⭐⭐⭐
    Game Programming Using Qt: Beginner's Guide ⭐⭐⭐ ⭐⭐⭐ ⭐⭐⭐
    Qt 5 Blueprints ⭐⭐ ⭐⭐ ⭐⭐
    Application Development with Qt Creator - Second Edition ⭐⭐⭐⭐ ⭐⭐
    Getting Started with Qt Quick ⭐⭐⭐⭐


    • There is a pseudo-official list of manuals on the wiki: https://wiki.qt.io/Books
    • Do not waste too much time learning qmake as it will be phased out in Qt6. Go for CMake (or QBS if you really, really like Qt and Qt only)

  • I'm rather confused! I know nothing about the book Learning Qt 5 or even the number of its pages.

  • @tomy said in A new book on Qt:

    book Learning Qt 5 or even the number of its pages

    It's 0.

    It's video based.

    On that note, you can find a number of Qt tutorials on Youtube like https://www.youtube.com/playlist?list=PL2D1942A4688E9D63

  • @VRonin

    Very nice work!!!

    Thank you ...

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.