I have started writing a gentle introduction to Qt called The Independent Qt Tutorial. It currently consists of nine chapters and deals with how to setup Qt, how to use Qt Designer, how to write an application by hand, etc. The purpose of the tutorial is to cover all areas of Qt needed to write top quality applications. Feel free to check it out.

Bookmark/Search this post with

Comments

The first part is quite nut and bad written.
I'd suggest removing it as it is of no interest for building QT application.
You try to suggest what's the best way to design objects but this part can be so large it would deserve an entire book : better drop it.

I only just started reading it and what I miss is first up some practical but very simple (did I mention SIMPLE!) walkthru of using Designer for real and THEN start with the extensive theory in the fisrt few chapters... with refrences to the VSRP (very simple real project) example. It seems to me you have written the first few chapters up to make sure you understand the theory and not so much from a complete novices point of view. Theory on top of theory without referring to real-world examples is often too much work to wade thru.

Great idea. As I allready mentioned, I plan to redo the first chapters (concerning the object model). Perhaps I should put a Designer version of the Troll's LCD+Slider example there? That includes signals and slots while not getting to complex with Designer. My only problem then is that the Designer introduction that comes later will look to detailed, or? Suggestions?

In Chapter 7, the Example 7-1 and the paragraph above, describing it, are erroneous.

In the paragraph it reads "The structure that we will introduce is a so called POD structure. This means plain old data, and means that the structure has no methods." This is not entirely correct. At various places in the Standard there are requirements for POD types, but I think a POD structure can have non-virtual member funtions. The relevant part of the Standard is Section 9 [class], paragraph 4 I think. A description of POD types can be found at http://www.parashift.com/c++-faq-lite/intrinsic-types.html#faq-26.7

As the example class "Contact" consists of the non POD type "QString", it is not a POD type itself.