Buy new:
-36% $44.99$44.99
Delivery Friday, October 11
Ships from: Amazon Sold by: RoseBookz
Save with Used - Good
$15.89$15.89
Delivery Friday, October 11
Ships from: Amazon Sold by: ZBK Wholesale
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
C++ GUI Programming with Qt 4 (2nd Edition) (Prentice Hall Open Source Software Development Series) 2nd Edition
Purchase options and add-ons
- ISBN-109780132354165
- ISBN-13978-0132354165
- Edition2nd
- PublisherPrentice Hall
- Publication dateJanuary 1, 2008
- LanguageEnglish
- Dimensions7 x 1.5 x 9.5 inches
- Print length718 pages
Customers who bought this item also bought
The Book of Qt 4: The Art of Building Qt ApplicationsPaperback$14.97 shippingGet it as soon as Friday, Oct 11Only 1 left in stock - order soon.
Editorial Reviews
About the Author
Jasmin Blanchette is a Trolltech senior software engineer and is writing his M.Sc. thesis in computer science at the University of Oslo.
Mark Summerfield works as an independent trainer and consultant specializing in C++, Qt, Python, and PyQt, and is the author of Rapid GUI Programming with Python and Qt. Blanchette and Summerfield coauthored C++ GUI Programming with Qt 3 and the first edition of C++ GUI Programming with Qt 4.
Excerpt. © Reprinted by permission. All rights reserved.
Qt is a comprehensive C++ application development framework for creating cross-platform GUI applications using a "write once, compile anywhere" approach. Qt lets programmers use a single source tree for applications that will run on Windows 98 to Vista, Mac OS X, Linux, Solaris, HP-UX, and many other versions of Unix with X11. The Qt libraries and tools are also part of Qt/Embedded Linux, a product that provides its own window system on top of embedded Linux.
The purpose of this book is to teach you how to write GUI programs using Qt 4. The book starts with "Hello Qt" and quickly progresses to more advanced topics, such as creating custom widgets and providing drag and drop. The text is complemented by a set of examples that you can download from the book's web site, http://www.informit.com/title/0132354160. Appendix A explains how to download and install the software, including a free C++ compiler for those using Windows.
The book is divided into three parts. Part I covers all the fundamental concepts and practices necessary for programming GUI applications using Qt. Knowledge of this part alone is sufficient to write useful GUI applications. Part II covers central Qt topics in greater depth, and Part III provides more specialized and advanced material. You can read the chapters of Parts II and III in any order, but they assume familiarity with the contents of Part I. The book also includes several appendixes, with Appendix B showing how to build Qt applications and Appendix C introducing Qt Jambi, the Java version of Qt.
The first Qt 4 edition of the book built on the Qt 3 edition, although it was completely revised to reflect good idiomatic Qt 4 programming techniques and included new chapters on Qt 4's model/view architecture, the new plugin framework, embedded programming with Qt/Embedded Linux, and a new appendix. This extended and revised second edition has been thoroughly updated to take advantage of features introduced in Qt versions 4.2 and 4.3, and includes new chapters on look and feel customization and application scripting as well as two new appendixes. The original graphics chapter has been split into separate 2D and 3D chapters, which between them now cover the new graphics view classes and QPainter's OpenGL back-end. In addition, much new material has been added to the database, XML, and embedded programming chapters.
This edition, like its predecessors, emphasizes explaining Qt programming and providing realistic examples, rather than simply rehashing or summarizing Qt's extensive online documentation. Because the book teaches solid Qt 4 programming principles and practices, readers will easily be able to learn the new Qt modules that come out in Qt 4.4, Qt 4.5, and later Qt 4.x versions. If you are using one of these later versions, be sure to read the "What's New in Qt 4.x" documents in the reference documentation to get an overview of the new features that are available.
We have written the book with the assumption that you have a basic knowledge of C++, Java, or C#. The code examples use a subset of C++, avoiding many C++ features that are rarely needed when programming Qt. In the few places where a more advanced C++ construct is unavoidable, it is explained as it is used. If you already know Java or C# but have little or no experience with C++, we recommend that you begin by reading Appendix D, which provides sufficient introduction to C++ to be able to use this book. For a more thorough introduction to object-oriented programming in C++, we recommend C++ How to Program by P. J. Deitel and H. M. Deitel (Prentice Hall, 2007), and C++ Primer by Stanley B. Lippman, Jos¿Lajoie, and Barbara E. Moo (Addison-Wesley, 2005).
Qt made its reputation as a cross-platform framework, but thanks to its intuitive and powerful API, many organizations use Qt for single-platform development. Adobe Photoshop Album is just one example of a mass-market Windows application written in Qt. Many sophisticated software systems in vertical markets, such as 3D animation tools, digital film processing, electronic design automation (for chip design), oil and gas exploration, financial services, and medical imaging, are built with Qt. If you are making a living with a successful Windows product written in Qt, you can easily create new markets in the Mac OS X and Linux worlds simply by recompiling.
Qt is available under various licenses. If you want to build commercial applica-tions, you must buy a commercial Qt license from Trolltech; if you want to build open source programs, you can use the open source (GPL) edition. The K Desktop Environment (KDE) and most of the open source applications that go with it are built on Qt.
In addition to Qt's hundreds of classes, there are add-ons that extend Qt's scope and power. Some of these products, like the Qt Solutions components, are avail-able from Trolltech, while others are supplied by other companies and by the open source community; see http://www.trolltech.com/products/qt/3rdparty/ for a list of available add-ons. Trolltech's developers also have their own web site, Trolltech Labs (http://labs.trolltech.com/), where they put unofficial code that they have written because it is fun, interesting, or useful. Qt has a well-established and thriving user community that uses the qt-interest mailing list; see http://lists.trolltech.com/ for details.
If you spot errors in the book, have suggestions for the next edition, or want to give us feedback, we would be delighted to hear from you. You can reach us at qt-book@trolltech.com. The errata will be placed on the book's web site http://www.informit.com/title/0132354160.
Product details
- ASIN : 0132354160
- Publisher : Prentice Hall; 2nd edition (January 1, 2008)
- Language : English
- Hardcover : 718 pages
- ISBN-10 : 9780132354165
- ISBN-13 : 978-0132354165
- Item Weight : 2.8 pounds
- Dimensions : 7 x 1.5 x 9.5 inches
- Best Sellers Rank: #1,680,334 in Books (See Top 100 in Books)
- #450 in C++ Programming Language
- #465 in User Experience & Website Usability
- #2,125 in Software Development (Books)
- Customer Reviews:
About the authors

Jasmin Blanchette (1978-) worked for Trolltech in Oslo, Norway from 2000 to 2008 as a software engineer and documentation manager. He (sic) obtained his M.Sc. in computer science from the University of Oslo in 2008 and is now working on his Ph.D. in Munich (http://www4.in.tum.de/~blanchet/).

Mark Summerfield is a computer science graduate and qualified teacher with many years experience working in the software industry, primarily as a programmer and documenter. Mark owns Qtrac Ltd., http://www.qtrac.eu, where he works as a programmer and where he created and now maintains his commercial software --- PDF comparison tools DiffPDF (GUI) and comparepdfcmd (command line). He also created the open source UXF (Uniform eXchange Format), and wrote the first UXF libraries.
All Mark's books are aimed at programmers and others, such as students, scientists, and engineers, who already have some programming experience (how much depends on the individual book). Each solo book has its own page on the Qtrac website from which the source code can be downloaded and that lists the book's errata. All the books are designed to teach technologies that Mark loves and has found to be the best of their kind.
Related products with free delivery on eligible orders
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book useful for learning QT. They also say it's easy to read, straightforward, and well-structured. Readers mention the examples work exactly as printed. Opinions are mixed on the depth, with some finding it sufficient while others say there is too much information in some lengthy sections.
AI-generated from the text of customer reviews
Customers find the book useful for learning QT, mentioning it contains detailed information for basic and intermediate developers. They also say it's an excellent tutorial and a great starting point for people learning the framework.
"...to point with a series of short example programs and detailed breakdowns of hows and whys. I also own copies of other Summerfield books, and I've..." Read more
"...Still a good and useful book." Read more
"...This book is really great, covers all what you need and in detail...." Read more
"...This book have some very good example ideas, but often lack in execution...." Read more
Customers find the book very well-structured and easy to read. They appreciate that the chapters are nicely arranged in basic, intermediate, and advanced sections. Readers also mention the language is interesting.
"...a great deal of information, I found this text to be a very readable way to quickly come up to speed on creating applications with Qt...." Read more
"...but this book puts it all together in a very straightforward and readable manner. I only gave it 4 stars for not being up to date with QT 5.4." Read more
"...Chapters are nicely arranged in "basic", "intermediate", and "advanced" sections...." Read more
"...applied in own software during the development, the English used is easy and understandable, I'm very satisfied." Read more
Customers find the book's examples useful. They also mention every example works exactly as printed.
"...Here's what makes this book amazing: every single example works exactly as printed...." Read more
"...of the Qt framework by providing examples, and this works well to a certain extent...." Read more
"Very useful" Read more
"A bit dated but still very useful..." Read more
Customers have mixed opinions about the depth of the book. Some mention it covers everything they need and in detail. Others say the details are not sufficient and the book lacks depth on covering the coding process when running Qt Designer.
"...prose moves the reader quickly from point to point with a series of short example programs and detailed breakdowns of hows and whys. I also own..." Read more
"...Some reviews lament the fact that the detail is not sufficient, but, in my view, it would be very hard to provide more detail than the book already..." Read more
"...quickly appreciated all the little details in this book and the very complete index (the index is over 50 pages long)...." Read more
"...The book could have been better written, but as is, it provides a full scope on widget based user interfaces...." Read more
Customers find the content dated.
"...This book is old, does not cover the latest version. That can be a good thing sometimes as it narrows the scope to the essentials...." Read more
"Not a bad book at all but way out of date. This statement actually say's more about how much Qt has improved over the last few years...." Read more
"A bit dated but still very useful..." Read more
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
One caveat: I've used other widget sets (Gtk, Tk) before with other languages, but have no previous experience with Qt, and not much experience with C++ (so I found the "Intro to C++" chapter for Qt programmers a helpful summary).
I quite believe that you could use the knowledge from this book to know all you would need to build a GUI program that is current, modern and up-to-date in a way that faster than reading online documentation. The book could have been better written, but as is, it provides a full scope on widget based user interfaces.
I gave the book 4 stars because it covers version 4. A book on version 5 addressing the same scope of material could be useful. Also, I think they could tighten the presentation to better segment the material into theory, concept, design, API, and description of demo App that illustrates the API. Still a good and useful book.
Like a previous reviewer I would also like to see a Qt book that doesn't follow the exact same topic layout as the official manual, variety is always good.
I'd like to end with saying that this is good book, however there is a bit too much information in some of the lengthy examples. If you manage to get through the chapters though, I'm sure you're well set up for a job as a Qt programmer.
Top reviews from other countries
The only thing I'd like to point out is that it is written keeping Qt4 in mind. In my installation I had Qt5. To adapt to this, I had to make the following change, viz. add the following in the ".pro" file:
QT += widgets
That said, the book could have spent a few more pages on walking thru the installation. There are a few gotchas which are not so evident. Eg. I broke my head when I installed 64-bit Qt components but my MSVC was 32-bit I had forgotten; Then there are also gotchas around how to use MSVC as the main IDE (eg. the steps for running qtenv2.bat, vcvarsall.bat, etc are not documented anywhere. I had to Google up a lot and find out this info).
BTW: Qt installation sucks. It is painfully slow. It seems to download and install one file/component at a time. I don't know why they didn't architect it so as to download all in one shot (which'd be much faster) and then do the installation.
Dieses Buch erinnert mich sehr an das Niveau von "Buchheit" (Win16) und "Petzold" (Win32). Ich würde es darum als "DAS ESSENTIELLE BUCH FÜR Qt-EINSTEIGER" bezeichnen.
Das einzige, was mich ärgert ist, daß ich es nicht schon vor 3 Jahren gekauft habe, als in c't immer mal wieder Qt-Projekte vorgestellt wurden. Habe viel Lebens- und Arbeitszeit vertrödelt weil ich mich nicht ernsthaft mit Qt befaßt habe. Hätte ich dieses Buch eher in die Finger bekommen, wäre das anders gelaufen!


