Skip to content
ISBN: 1565925882
ISBN13: 9781565925885

Programming With Qt

$13.19List Price: $32.95
Save $19.76!
ISBN: 1565925882
ISBN13: 9781565925885
Formats

Conditions

A read copy, but remains in excellent condition.

Formats

Conditions

A read copy, but remains in excellent condition.

See all 1 editionsfrom $10.99

Book Overview

Qt is a C++ class library for writing GUI applications that run on UNIX, Windows 95/98, and Windows NT platforms. Qt is much easier to use than the standard Motif toolkit for UNIX systems, but at the same time Qt emulates the look-and-feel of Motif. Best of all, after you have written an application with Qt, all you have to do is recompile it to have a version that works on Windows systems. Qt also emulates the look-and-feel of Windows, so you can provide all of your users with native-looking interfaces.Platform independence is not the only benefit of Qt. Qt uses an ingenious signal/slot mechanism for connecting user interaction with program functionality, providing an excellent framework for component-based programming. Graphical rendering in Qt is highly optimized due to its use of effective caching mechanisms -- rendering in Qt is often faster than with the similar native API. In addition to user interface classes, Qt features portable support for file system access, working with date and time values, and network programming. With Qt, you'll find that you need to write very little, if any, platform-dependent code because Qt already has what you need.Qt is popular with open-source and Linux developers because it can be used for free on UNIX systems for this type of development. For commercial development, you need a license for Qt, which is available from Troll Tech, the developers of Qt. In addition to open-source development, Qt is being used by several major companies and government and international agencies.While programming with Qt is straightforward and feels natural once you get the hang of it, the learning curve can be steep. Qt comes with excellent reference documentation, but beginners often find the included tutorial is not enough to really get started with Qt. That is where this book steps in. "Programming with Qt" guides you through the steps of writing a Qt application by showing you how to write a simple paint application. It also helps deepen your understanding of the topics with exercises and fully worked out answers. The book presents all of the GUI elements in Qt, along with advice about when and how to use them, so that you can make full use of the toolkit. There's also lots of information for seasoned Qt programmers, including material on advanced 2D transformations, drag-and-drop, and writing custom image file filters."Programming with Qt" helps you get the most out of Qt. With it, you'll learn to take full advantage of this powerful, easy-to-use, cross-platform toolkit. This description may be from another edition of this product.
Format:
Paperback
Language:
English
ISBN:
1565925882
ISBN13:
9781565925885
Publisher:
O'Reilly Media, Incorporated
Length:
361 Pages
Weight:
1.35 lbs.
Dimensions:
9.3″ × 0.8″ × 7.0″
APIs & Operating EnvironmentsCComputer ScienceComputersComputers & TechnologyEducation & ReferenceLanguages & ToolsMathematicsProgrammingProgramming Languages

More by Matthias Kalle Dalheimer

Customer Reviews

5 customer ratings | 5 reviews
Write a Review

Good addition, but short on pithy examples

This is indeed a very good book but it can't compete with Solin's "Qt Programming" (published by Sams) as an introduction (at least not in it's present 1st edition..perhaps the soon to be published 2nd edition will be such an improvement that this situation will change, but I think that's unlikely). Depending on your budget and the improvements that come into edition 2, this is a worthwhile addition to any Qt programmer's bookshelf.The main weakness of the book is the shortage of succinct and simple examples that illustrate the various Qt classes and concepts. (This is where Solin, on the other hand excels). There is one hefty example (Qtscribble) that is presented in various versions in the chapters 2 and 3. The rest of the book presents only code snippets and (worthwhile) discussions. Edition 1 is also quite outdated so waiting for edition 2 is very advisable.

0

Easy C++ GUIs with qt

Easy reading introduction into GUI programming with qt in C++. The book focuses on qt without applying C++ exception handling or the standard template library. It also does not explain too deeply the workings behind qt's callback system, but just, how to use it. After reading the book I could immediately make a GUI on Linux. Earlier it took me much longer to do the same thing with Motif. The qdesigner which comes with qt2.2.0 takes away a lot of work. The book also explaines other capabilities of qt than the GUI main topic (e.g. socket handling class, qt container classes, etc.). The help pages of the new qdesigner will also help one in applying the teaching of this book.

0

Good book, but obsolete already

I don't think this book is so bad as some people said below. It does what it was writen for - teaches programming Qt.I don't agree that this book doesn't contain good samle codes. While reading it I compiled and ran the most of examples.The problem with the book is that it's based on the obsolete version of Qt (1.4x, current is 2.02), so some classes and functions have changed a bit.Reading the Qt mailing list I noticed that many people who start reading fail to compile the very 1st example "Hello, World"at p.13, because now QLabel constructor has different arguments. But the book has errata page in the Internet, you may check it.In any case right now it's the only Qt book. Troll Tech people are still preparing their own (Qt: The Officiak Documentation).

0

Good intro to Qt programming.

I enjoyed this book thoroughly. I'm not sure what the other reviewers are talking about when they say that the book was riddled with errors; I didn't notice any (I suppose if there were any, they were easily fixed), and had absolutely no problems getting the code to compile. Qt is a great toolkit, and this is an excellent introduction. The only thing I would have changed about this book is to make every chapter have some exercises instead of only the first few chapters.

0

Good tutorial and overview - a necessary and welcome book

First, I'm not exactly a GUI hacker, so you'll have to bear with my relative lack of knowledge in this area.I do believe that Qt is mostly that: 'Cute'. It also is an excellent candidate for 'easy' GUI programming. What I wanted to find out among other things was whether Qt is a potential industrial strength full replacement of either Motif or the Windows API or both.Unfortunately, Matthias' book falls a little short of the answer, being too loyal to Qt to point out any shortcomings. It rightfully, if drily and repetitively, points out why Qt might be better or more suitable for easy-to-write (relatively speaking) and somewhat portable GUI-based applications.The book faithfully takes you through all the details of the tutorials which are arranged in suitably increasing difficulty. In the last few chapters it also discusses version 2.0 of Qt (yet to be released), the Perl interface and the available GUI builders.The book isn't designed as a reference manual, so you will have to stick with the Qt online reference. The tone of the book is rather dry and occasionally repetitive, which works somewhat like your favorite Latin teacher.What's missing? A discussion of Qt's features compared to established GUIs (in particular customization and 'Desktop' issues), a stronger connection to the KDE project (after all, it _is_ possible to write a Window Manager using Qt, so what did that take?) and maybe a little more casual tone or even humor.

0