The previously mentioned Independent Qt Tutorial has been updated with two completely new chapters dealing with files and XML. The Independet Qt Tutorial aims at providing a readable introduction to Qt programming. Qt is available for a number of platforms such as win32, Mac OS X and X11.
There’s also a new book
http://www.trolltech.com/developer/books.html
I saw Trolltech is now member of ODSL. It’s coming together. Soon there’ll be more than one button on download pages. One for Windows. And one for Linux.
Great info! Thanks for it! I agree, Trolltech, Qt and crossplatforms is the wave of the future.
Thanks for the book link.
p.s: So how was Christmas? I never understood how you could do it? Flying around the world on a sled bringing toys to the good little girls and boys seems like thankless work. I guess someones got to do it. So, on the off season, you do a lot of Qt hackin?
Trolltech has a Qt book for programming with Qt 3.2+ and it’s available at Amazon.com for only $30 and that includes shipping.
If your just getting into GUI programming this is what you need, an easy to learn, powerful and multiplatform GUI toolkit.
Get it here: http://tinylink.com/?ifv18U3qxh
I’ve already placed my order, this is the most up to date Qt book available and having two of Trolltech’s staff (man and woman, probably dosesn’t make any difference but I think that having both sexes might have a better presentation).
I agree, Trolltech, Qt and crossplatforms is the wave of the future.
How much support does Qt have for different operating environments? On Macs, for instance, you can only have one menubar per application (as far as I know) (which, incidentally and totally unrelated to the question, but I wish to stress that it’s unrelated so I’m mentioning it, is at the top of the screen), whereas on many other GUIs, you can have multiple menubars per program (á la MSN Messenger or Gaim). Does Qt account for this? or does it play to the lowest common denominator?
Also, how does it do MDIs on Macs? The idea seems even more abhorrent to my non-Mac mind than non-tab-, sub-window-based MDIs on X (or, indeed, just about any GUI apart from Windows and mebbe OS/2). I’ve never seen a screenshot of Opera running on a Mac unfortuantely. I know it appears to manage subwindows manually on X.
The little I know of Qt seems to suggest it’s a very nice toolkit at the programmer’s level (reasonably high level &c. &c. &c.), though I’ve never programmed in it (I certainly mean to learn at some stage or another). I’m just wondering how it gets around the fact that a lot of environments are very different, which is half the reason for using the different environments.
That was a very instructive tutorial. I could not believe in what I managed to do! Also the QT book seems very interesting and cheap. I am going to order it soon.
One of the advantages of Qt is the great reference documentation. For example, what you want to know is documented here:
http://doc.trolltech.com/3.2/mac-differences.html#8
How did I find this? I went to doc.trolltech.com, clicked on my version (3.2) and looked under the headline ‘Porting & Platforms’. There I found ‘Mac OS X Development’, just what I needed!
The only thing that the official documentation lack is actually a good, readable, introduction. That is what The Independent Qt Tutorial offers. TIQT actually contains lots and lots of links into the official documentation for reference.
Qt on the Mac still leaves much to be desired. While they get the menubar correct, many things can be done better. The Mac l&f isn’t really compliant with the UI changes made in Panther, and the text on some controls *still* aren’t centered correctly on the component. There are other components that seem to get chomped off and not displayed entirely. Just run the demo located in the /examples folder to see what I mean.
This was observed under 3.3.0 Beta 1 for OS X. Hopefully the final release will iron out these issues.
Great tutorial indeed, I especially liked the XML part. Does anybody know if GTK has a similar way to parse/write XML?