O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learn Qt 5

Book Description

Learn the fundamentals of QT 5 framework to develop interactive cross-platform applications

About This Book

  • A practical guide on the fundamentals of application development with QT 5
  • Learn to write scalable, robust and adaptable C++ code with QT
  • Deploy your application on different platforms such as Windows, Mac OS, and Linux

Who This Book Is For

This book is for application developers who want a powerful and flexible framework to create modern, responsive applications on Microsoft Windows, Apple Mac OS X, and Linux desktop platforms. You should be comfortable with C++ but no prior knowledge of Qt or QML is required.

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
  • Implement a rich user interface with QML
  • Learn the fundamentals of QtTest and how to integrate unit testing
  • Build self-aware data entities that can serialize themselves to and from JSON
  • Manage data persistence with SQLite and CRUD operations
  • Reach out to the internet and consume an RSS feed
  • Produce application packages for distribution to other users

In Detail

Qt is a mature and powerful framework for delivering sophisticated applications across a multitude of platforms. It has a rich history in the Linux world, is widely used in embedded devices, and has made great strides in the Mobile arena over the past few years. However, in the Microsoft Windows and Apple Mac OS X worlds, the dominance of C#/.NET and Objective-C/Cocoa means that Qt is often overlooked.

This book demonstrates the power and flexibility of the Qt framework for desktop application development and shows how you can write your application once and deploy it to multiple operating systems. Build a complete real-world line of business (LOB) solution from scratch, with distinct C++ library, QML user interface, and QtTest-driven unit-test projects.

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

Style and approach

This book takes a hands-on approach to app development that emphasizes the key concepts while you're doing the project work.

Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.