Solved A complete reference on Qt5
-
@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
-
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?
-
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.
-
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?
-
@tomy I'd say C++ GUI Programming first but that's my personal opinion
-
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
-
On a small side note, you won't find a definitive complete book about all of Qt 5 as there is also no complete and definitive book about all Qt 4. The framework evolves with time. New modules are added, some might get removed.
You should rather look for sources that contains material that you are interested in. There's for example no use of studying from the start the QtSql module if you don't intend to use databases. Study it when the time comes.
-
@SGaist well, on the other hand, I did not know I needed the model/view framework until I learned what it can do
-
@SGaist said in A complete reference on Qt5:
On a small side note, you won't find a definitive complete book about all of Qt 5 as there is also no complete and definitive book about all Qt 4. The framework evolves with time. New modules are added, some might get removed.
You should rather look for sources that contains material that you are interested in. There's for example no use of studying from the start the QtSql module if you don't intend to use databases. Study it when the time comes.
Yes, I see.
But about my needs (to learn how to create apps for platforms I mention above) I should start the way somewhere.
I think after starting reading the book(s) I should look at this site and ask questions every so often to be up-to-date.Do you agree that I need to reads the books those two mates kindly advised me with that order?
-
I recently started properly with Qt and my approach was similar to what you have in mind. I bought the two Qt4 books that are mentioned before. Started reading in the C++ GUI programming with Qt4 and using some examples from the web and scanned a bit through the advanced book, just to have an idea of pointers to different topics.
From the C++ GUI programming with Qt4 book, I managed myself to adapt things for Qt5 and after working through the first few chapters, I concluded that I should simply start writing my own code. Doing so made me put the book mostly aside, except to search for starting points on the kind of things that I need and to look at some relevant examples (I also downloaded the examples to the books).
The Qt documentation on the Qt site is really good in my opinion and this forum has already helped me a lot with getting started and even with some more tricky bits. I am actually very pleased with the available documentation and support, especially if I compare this with some previous experiences I had with several Eclipse technologies.
-
Those are good books indeed and valuable to read. But don't forget Qt's own documentation. It's no just the classes explained. You have all the concepts behind Qt, the different modules, tutorials and examples.
-
@ModelTech: thanks for your experience that you shared with me.
@SGaist: thanks for the advice. I start reading the C++ GUI Programming and will have a glance into the contents of this site and the documentations.