cta quote button

Best QT Books to Read

Read More

How Much Does It Cost to Hire Web Developers in Ukraine?

Our pricing is completely transparent: you pay your engineers’ salaries and a flat monthly fee for our services. No hidden charges.

Read More

1. Programming with Qt (2nd Edition) (2002)

The popular open source KDE desktop environment for Unix was built with Qt, a C++ class library for writing GUI applications that run on Unix, Linux, Windows 95/98, Windows 2000, and Windows NT platforms. Qt emulates the look and feel of Motif, but is much easier to use. 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. Qt also emulates the look and feel of Windows, so your users get native-looking interfaces.Platform independence is not the only benefit. Qt is flexible and highly optimized. You’ll find that you need to write very little, if any, platform-dependent code because Qt already has what you need. And Qt is free for open source and Linux development.Although 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’s whereProgramming with Qt steps in. You’ll learn how to program in Qt as the book guides you through the steps of writing a simple paint application. Exercises with fully worked out answers help you deepen your understanding of the topics. The book presents all of the GUI elements in Qt, along with advice about when and how to use them, so you can make full use of the toolkit. For seasoned Qt programmers, there’s also lots of information on advanced 2D transformations, drag-and-drop, writing custom image file filters, networking with the new Qt Network Extension, XML processing, Unicode handling, and more.Programming with Qt helps you get the most out of this powerful, easy-to-use, cross-platform toolkit. It’s been completely updated for Qt Version 3.0 and includes entirely new information on rich text, Unicode/double byte characters, internationalization, and network programming.

Author(s): Matthias Kalle Dalheimer

2. Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming (paperback) (2015)

The Insider's Best-Practice Guide to Rapid PyQt 4 GUI Development

Whether you're building GUI prototypes or full-fledged cross-platform GUI applications with native look-and-feel, PyQt 4 is your fastest, easiest, most powerful solution. Qt expert Mark Summerfield has written the definitive best-practice guide to PyQt 4 development.

With Rapid GUI Programming with Python and Qt you'll learn how to build efficient GUI applications that run on all major operating systems, including Windows, Mac OS X, Linux, and many versions of Unix, using the same source code for all of them. Summerfield systematically introduces every core GUI development technique: from dialogs and windows to data handling; from events to printing; and more. Through the book's realistic examples you'll discover a completely new PyQt 4-based programming approach, as well as coverage of many new topics, from PyQt 4's rich text engine to advanced model/view and graphics/view programming. Every key concept is illuminated with realistic, downloadable examples—all tested on Windows, Mac OS X, and Linux with Python 2.5, Qt 4.2, and PyQt 4.2, and on Windows and Linux with Qt 4.3 and PyQt 4.3.

Coverge includes

  • Python basics for every PyQt developer: data types, data structures, control structures, classes, modules, and more
  • Core PyQt GUI programming techniques: dialogs, main windows, and custom file formats
  • Using Qt Designer to design user interfaces, and to implement and test dialogs, events, the Clipboard, and drag-and-drop
  • Building custom widgets: Widget Style Sheets, composite widgets, subclassing, and more
  • Making the most of Qt 4.2's new graphics/view architecture
  • Connecting to databases, executing SQL queries, and using form and table views
  • Advanced model/view programming: custom views, generic delegates, and more
  • Implementing online help, internationalizing applications, and using PyQt's networking and multithreading facilities

Author(s): Mark Summerfield

3. Learn QT 5 (2018)

Key Features

  • Practical guide to the fundamentals of application development with QT 5
  • Create an end to end cross-platform business application
  • Deploy your application on different platforms like Windows, Mac OS and Linux

Book Description

Qt is a mature and powerful framework for delivering sophisticated applications across a multitude of platforms. It is widely used in embedded devices including TVs, satellite set-top boxes, medical equipment, car dashboards and much more.

This book demonstrates the power and flexibility of the Qt framework and show how you can write your application once and deploy it to multiple operating system desktops. In this book, you will build a complete real-world line of business (LOB) solution from scratch, with distinct library, user interface and unit test projects.

We will cover building a modern, responsive user interface with QML and wiring it up to rich C++ classes. We will control every aspect of our project configuration and output with QMake, including platform detection and conditional expressions.

We will build self-aware data entities that can serialise themselves to and from JSON. We will persist those data entities in a database and learn how to find and update them. We will reach out to the Internet and consume a RSS feed. Finally, we will produce an installation package so that we can deploy our application onto other machines.

This is a suite of essential techniques which cover the core requirements for most LOB applications and will empower you to progress from blank page to shipped application.

What you will learn

  • Install and configure the Qt Framework and Qt Creator IDE
  • Create a new multi-project solution from scratch and control every aspect of it with QMake
  • Learn the fundamentals of QtTest and how to integrate unit testing
  • Learn QML, create custom components and modules and apply styling
  • Effectively manage data, the core requirement at the heart of every LOB application
  • Write unit tests using the default Qt approach and a custom Test Suite approach
  • Manage network connections and web requests
  • Produce an installation package to distribute your application

Author(s): Nicholas Sherriff

4. Game Programming Using QT (2016)

A complete guide to designing and building fun games with Qt and Qt Quick 2 using associated toolsets

About This Book

  • Learn to create simple 2D to complex 3D graphics and games using all possible tools and widgets available for game development in Qt
  • Understand technologies such as QML, Qt Quick, OpenGL, and Qt Creator, and learn the best practices to use them to design games
  • Learn Qt with the help of many sample games introduced step-by-step in each chapter

Who This Book Is For

If you want to create great graphical user interfaces and astonishing games with Qt, this book is ideal for you. Any previous knowledge of Qt is not required, however knowledge of C++ is mandatory.

What You Will Learn

  • Install Qt on your system
  • Understand the basic concepts of every Qt game and application
  • Develop 2D object-oriented graphics using Qt Graphics View
  • Build multiplayer games or add a chat function to your games with Qt’s Network module
  • Script your game with Qt Script
  • Program resolution-independent and fluid UI using QML and Qt Quick
  • Control your game flow as per the sensors of a mobile device
  • See how to test and debug your game easily with Qt Creator and Qt Test

In Detail

Qt is the leading cross-platform toolkit for all significant desktop, mobile, and embedded platforms and is becoming more popular by the day, especially on mobile and embedded devices. Despite its simplicity, it’s a powerful tool that perfectly fits game developers’ needs. Using Qt and Qt Quick, it is easy to build fun games or shiny user interfaces. You only need to create your game once and deploy it on all major platforms like iOS, Android, and WinRT without changing a single source file.

The book begins with a brief introduction to creating an application and preparing a working environment for both desktop and mobile platforms. It then dives deeper into the basics of creating graphical interfaces and Qt core concepts of data processing and display before you try creating a game. As you progress through the chapters, you’ll learn to enrich your games by implementing network connectivity and employing scripting. We then delve into Qt Quick, OpenGL, and various other tools to add game logic, design animation, add game physics, and build astonishing UI for the games. Towards the final chapters, you’ll learn to exploit mobile device features such as accelerators and sensors to build engaging user experiences. If you are planning to learn about Qt and its associated toolsets to build apps and games, this book is a must have.

Style and approach

This is an easy-to-follow, example-based, comprehensive introduction to all the major features in Qt. The content of each chapter is explained and organized around one or multiple simple game examples to learn Qt in a fun way.

Author(s): Witold Wysota, Lorenz Haas

5. Foundations of Qt Development (Expert’s Voice in Open Source) (2007)

Qt is one of the most influential graphical toolkits for the Linux operating system and is quickly being adopted on other platforms (Windows, Mac OS) as well. It is necessary to learn for all Linux programmers. This book takes the reader step by step through the complexities of Qt, laying the groundwork that allows the reader to make the step from novice to professional. This book is full of real world examples that can be quickly integrated into a developer’s project. While the reader is assumed to be a beginner at Qt development, they are required to have a working knowledge of C++ programming.

Author(s): Johan Thelin

6. Mastering Qt 5: Create stunning cross-platform applications (2016)

Master application development by writing succinct, robust, and reusable code with Qt 5

About This Book

  • Unleash the power of Qt 5 with C++14
  • Integrate useful third-party libraries such as OpenCV
  • Package and deploy your application on multiple platforms

Who This Book Is For

This book will appeal to developers and programmers who would like to build GUI-based applications. Knowledge of C++ is necessary and the basics of Qt would be helpful.

What You Will Learn

  • Create stunning UIs with Qt Widget and Qt Quick
  • Develop powerful, cross-platform applications with the Qt framework
  • Design GUIs with the Qt Designer and build a library in it for UI preview
  • Handle user interaction with the Qt signal/slot mechanism in C++
  • Prepare a cross-platform project to host a third-party library
  • Build a Qt application using the OpenCV API
  • Use the Qt Animation framework to display stunning effects
  • Deploy mobile apps with Qt and embedded platforms

In Detail

Qt 5.7 is an application development framework that provides a great user experience and develops full-capability applications with Qt Widgets, QML, and even Qt 3D.

This book will address challenges in successfully developing cross-platform applications with the Qt framework. Cross-platform development needs a well-organized project. Using this book, you will have a better understanding of the Qt framework and the tools to resolve serious issues such as linking, debugging, and multithreading. Your journey will start with the new Qt 5 features. Then you will explore different platforms and learn to tame them. Every chapter along the way is a logical step that you must take to master Qt. The journey will end in an application that has been tested and is ready to be shipped.

Style and Approach

This is an easy-to-follow yet comprehensive guide to building applications in Qt. Each chapter covers increasingly advanced topics, with subjects grouped according to their complexity as well as their usefulness. Packed with practical examples and explanations, Mastering Qt contains everything you need to take your applications to the next level.

Table of Contents

  1. Get Your Qt Feet Wet
  2. Discovering QMake Secrets
  3. Diving Your Project and Ruling Your Code
  4. Conquering the Desktop UI
  5. Dominating the Mobile UI
  6. Even Qt Deserves a Slice of Raspberry Pi
  7. Third Party Libraries Without a Headache
  8. Animations – It’s Alive, Alive!
  9. Keeping Your Sanity with Multithreading
  10. Need IPC? Get Your Minions to Work
  11. Having Fun with Serialization
  12. You Shall (Not) Pass with QTest
  13. All Packed and Ready to Deploy
  14. Qt Hat Tips and Tricks

Author(s): Guillaume Lazar, Robin Penea

7. Advanced Qt Programming (paperback): Creating Great Software with C++ and Qt 4 (2016)

Master Qt’s Most Powerful APIs, Patterns, and Development Practices

 

Qt has evolved into a remarkably powerful solution for cross-platform desktop, Web, and mobile development. However, even the most experienced Qt programmers only use a fraction of its capabilities. Moreover, practical information about Qt’s newest features has been scarce—until now.

 

Advanced Qt Programming shows developers exactly how to take full advantage of Qt 4.5’s and Qt 4.6’s most valuable new APIs, application patterns, and development practices. Authored by Qt expert Mark Summerfield, this book concentrates on techniques that offer the most power and flexibility with the least added complexity.

 

Summerfield focuses especially on model/view and graphics/view programming, hybrid desktop/Web applications, threading, and applications incorporating media and rich text. Throughout, he presents realistic, downloadable code examples, all tested on Windows, Mac OS X, and Linux using Qt 4.6 (and most tested on Qt 4.5) and designed to anticipate future versions of Qt. The book

 

  • Walks through using Qt with WebKit to create innovative hybrid desktop/Internet applications
  • Shows how to use the Phonon framework to build powerful multimedia applications
  • Presents state-of-the-art techniques for using model/view table and tree models, QStandardItemModels, delegates, and views, and for creating custom table and tree models, delegates, and views
  • Explains how to write more effective threaded programs with the QtConcurrent module and with the QThread class
  • Includes detailed coverage of creating rich text editors and documents
  • Thoroughly covers graphics/view programming: architecture, windows, widgets, layouts, scenes, and more
  • Introduces Qt 4.6’s powerful animation and state machine frameworks

Author(s): Mark Summerfield

8. C++ GUI Programming with Qt 4 (2006)

This guide demonstrates how to create dialog boxes, main windows, and custom widgets for a spreadsheet application, describes several of Qt’s classes and APIs, and explains the intricacies of internationalization and multithreading. The Qt 4 edition adds chapters on the model-view architecture, plugins, and embedded programming. The CD-ROM contains the open source edition of Qt 4.1. Annotation ©2006 Book News, Inc., Portland, OR (booknews.com)

Author(s): Jasmin Blanchette, Mark Summerfield

9. C++ GUI Programming with Qt 3 (2004)

Appropriate for all courses in Qt or KDE programming. C++ GUI Programming with Qt 3 is the first official TrollTech guide to Qt 3.x programming. In this book, two TrollTech insiders provide students all they need to build industrial-strength applications with Qt 3.x and C++: applications that can run natively on Windows, Linux/Unix, Solaris, Mac OS X, and embedded Linux with no source code changes. The book teaches through example, and covers every facet of Qt 3 programming, ranging from basic user interfaces and layout managers to 2D/3D graphics, drag-and-drop, signaling, networking, XML, database integration, even internationalization and multithreading. The coverage will be appropriate for students at all levels of Qt expertise; students planning to build either open source or commercial applications; and students who wish to develop for Windows without purchasing an expensive compiler. C++ GUI Programming with Qt 3 is part of Bruce Perens Open Source Series, edited by Bruce Perens, one of the worlds leading authorities on open source technologies.

Author(s): Jasmin Blanchette, Mark Summerfield

10. Programming with QT: Writing Portable GUI Applicat: Writing Portable GUI applications on UNIX and Win32 (1999)

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.

Author(s): Matthias Kalle Dalheimer

11. Application Development with Qt Creator, 2nd Edition (2014)

Design and build dazzling cross-platform applications using Qt and Qt Quick

About This Book

  • Imbibe the essential concepts of C++ and Qt Quick programming using Qt
  • Write cross-platform mobile applications with Qt Creator
  • Explore the core functions of Qt Creator using this step-by-step guide

Who This Book Is For

This book is great for developers who are new to Qt and Qt Creator and who are interested in harnessing the power of Qt for cross-platform development. If you have basic experience programming in C++, you have what it takes to create engaging cross-platform applications using Qt and Qt Creator!

What You Will Learn

  • Use Qt Creator’s editor to edit your application source and resource files
  • Explore the core functions of Qt Creator
  • Compile and debug your Qt Quick and C++ applications using Qt Creator
  • Localize applications using Qt Linguist and Qt
  • Build GUI applications using both Qt and Qt Quick
  • Write mobile applications for Android using Qt Creator and Qt Quick
  • Integrate version control with Qt Creator
  • Analyze your application’s runtime performance with Qt Creator

In Detail

Qt Creator is a cross-platform C++ IDE (Integrated Development Environment) that is part of the Qt project. It is used for building GUI applications that run on Windows, Mac OS X, Linux, Android, and many embedded systems. It includes a visual debugger and a forms designer within an integrated GUI.

Application Development with Qt Creator Second Edition, covers everything you need to know to build cross-platform applications with Qt Creator. It starts by showing you how to get, install, and use Qt Creator, beginning with the basics of how to edit, compile, debug, and run applications. Along the way, you will learn how to use Qt to write cross-platform GUI applications for Mac OS X, Windows, Linux, and Android in C++ and Qt Quick.

You will become proficient with the facets of Qt Creator that make it a valued software development environment for students and professionals alike.

Author(s): Ray Rischpater

12. Sams Teach Yourself Qt Programming in 24 Hours (2000)

Sams Teach Yourself Qt Programming in 24 Hours will teach the reader how to quickly and easily write graphical programs for both X Windows-based systems (Linux, etc.) and Microsoft Windows systems. Consisting of 24 one-hour lessons, Sams Teach Yourself Qt in 24 Hours is divided into six sections that guide the reader through the language from the basics to the advanced functions. The first section of the book teaches the fundamentals of Qt. Building upon what has been taught in the first section, sections two through six show the reader how to apply that knowledge and make Qt a programming language they can use to fulfill their programming needs. Topics Include the Qt Class Library, basic and advanced graphics, creating custom GUI widgets, OpenGL, Netscape and Explorer plug-ins, and Qt GUI builders.

Author(s): Daniel Solin