Results 1 to 4 of 4

Thread: QT 5: Books and instructional recommendations ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2017
    Posts
    21
    Qt products
    Qt5
    Platforms
    Windows

    Default QT 5: Books and instructional recommendations ?

    Hi,

    Trying to learn how to program in QT C++ and all the books that out there are written for Qt 4. I have Qt 5.6 installed and for one the code examples are dated and don’t work without editing, and two I want to study current coding standards. So are there any good reads out there on an intermediate level?

    Thanks.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,330
    Thanks
    317
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QT 5: Books and instructional recommendations ?

    all the books that out there are written for Qt 4.
    Except for some minor changes, the core parts of Qt did not change much between Qt 4 and Qt 5. What did change was the organization of include files and the addition of many more libraries with additional functionality. For Qt 4, I would recommend Summerfield's "Advanced Qt Programming" and Blanchette and Summerfield's "C++ GUI Programming with Qt4" The best Qt 5 book in my opinion is the one by Witold Wysota and Lorenz Haas "Game Programming Using Qt", which really isn't that much about game programming at all; the example developed in the book is a game, but the real purpose is to teach Qt 5.

    I want to study current coding standards
    The "current coding standards" have nothing to do with Qt really. They are more enhancements to the C++ language itself, like lambdas and template-related details. The principal language-related addition between Qt 4 and Qt 5 was new syntax for QObject::connect() and the use of lambdas as slots. Qt is a set of C++ libraries, so whatever your C++ toolchain supports will also be usable in writing C++ - based Qt programs.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Apr 2017
    Posts
    21
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QT 5: Books and instructional recommendations ?

    Thanks for the recommendations. I am familiar with Summerfield and Blanchette’s GUI Programming. Good instructional material and not too difficult to understand unlike Mastering Qt 5 which I’m reading now which I find hard to follow. I’ll check out Game Programming. Saw it on Amazon.

    About coding standards I meant a lot of the examples say to include QTGui such that QtLineEdit or QLabel class definitions will be included all in one reference but I find myself individually including each class if I want to make the examples work, and even modifying the Pro file if I want the QApplication references working properly in the main file.

    Thanks

Similar Threads

  1. Replies: 9
    Last Post: 18th May 2011, 22:12
  2. Some QT books
    By sophister in forum Qt Programming
    Replies: 6
    Last Post: 10th May 2009, 13:31
  3. QT4 Books
    By Jimmy2775 in forum Qt Programming
    Replies: 3
    Last Post: 7th February 2006, 20:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.