Apress

Foundations of Qt Development

By Johan Thelin

Foundations of Qt Development is based on Qt 4.2 and is aimed at C++ programmers who want to become proficient using this excellent toolkit to create graphical applications that can be ported to all major platforms.

Full Description

  • ISBN13: 978-1-59059-831-3
  • 528 Pages
  • User Level: Beginner to Advanced
  • Publication Date: August 22, 2007
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $54.99
  • eBook Price: $38.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

As the standard for KDE desktop environment, Trolltech's Qt is a necessary basis for all programmers who want to develop cross-platform applications on Windows, Mac OS, Linux, and FreeBSD. A multitude of popular applications have been written in Qt, including Adobe Photoshop Elements, Google Earth, Perforce Visual Client, and Skype.

Foundations of Qt Development is based on Qt 4.2, and is aimed at C++ programmers who want to become proficient using this excellent toolkit to create graphical applications that can be ported to all major platforms. The book is focused on teaching you to write your own code in addition to using existing code. Common areas of confusion are identified, addressed, and answered.

What you’ll learn

  • Widgets and layouts (including creating your own widgets!)
  • Dialog boxes and windows
  • The Interview Framework (models and views)
  • Drawing and printing
  • Internationalizing and localizing
  • Interacting with files, streams, and XML
  • Working with databases
  • Networking
  • Unit testing with Qt
  • Utilizing Qt as a rapid application development tool
  • Building and using plug-ins
  • Utilizing timers and threading

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page 97 bottom of page:
READS:
"This explains parts of the commands, but it does not explain why the first string is in a call to tr or why you won't use "unnamed[*] -SDI" right away."

The code referenced is NOT in a call to tr.

On page 391:
The last line on the page: "ui.imageLabel->clear();" should be deleted. It clears the pixmap that was just set in the previous line.

On page 511:

Where it reads "Make sure to use qsrand before qrand if you do want to
have a predictable sequence of numbers."

should be "Make sure to use qsrand before qrand if you do not want to
have a predictable sequence of numbers.".