Qt 5 Blueprints

Design, build, and deploy cross-platform GUI projects using the amazingly powerful Qt 5 framework

Qt 5 Blueprints

Symeon Huang

2 customer reviews
Design, build, and deploy cross-platform GUI projects using the amazingly powerful Qt 5 framework
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781784394615
Paperback272 pages

Book Description

Qt is a cross-platform application development framework that provides great visual interfaces for users and intuitive APIs for developers. The current version, Qt 5, provides enormous modules, from threading to interface animations, to ease your pain when developing cross-platform applications.

Starting with the basic concepts and fundamentals of Qt 5, Qt 5 Blueprints helps you get familiarized with the layouts and widgets of Qt as you build and debug a test application in Qt Creator. You will pick up the Qt design philosophy throughout the book, which will definitely help you to script your code in a more elegant manner.

Table of Contents

Chapter 1: Creating Your First Qt Application
Creating a new project
Changing the layout of widgets
Understanding the mechanism of signals and slots
Connecting two signals
Creating a Qt Quick application
Connecting C++ slots to QML signals
Summary
Chapter 2: Building a Beautiful Cross-platform Clock
Creating a basic digital clock
Tweaking the digital clock
Saving and restoring settings
Building on the Unix platforms
Summary
Chapter 3: Cooking an RSS Reader with Qt Quick
Understanding model and view
Parsing RSS Feeds by XmlListModel
Tweaking the categories
Utilizing ScrollView
Adding BusyIndicator
Making a frameless window
Debugging QML
Summary
Chapter 4: Controlling Camera and Taking Photos
Accessing the camera in Qt
Controlling the camera
Displaying errors on the status bar
Permanent widgets in the status bar
Utilizing the menu bar
Using QFileDialog
QML camera
Summary
Chapter 5: Extending Paint Applications with Plugins
Drawing via QPainter
Writing static plugins
Writing dynamic plugins
Merging plugins and main program projects
Creating a C++ plugin for QML applications
Summary
Chapter 6: Getting Wired and Managing Downloads
Introducing Qt network programming
Utilizing QNetworkAccessManager
Making use of the progress bar
Writing multithreaded applications
Managing a system network session
Summary
Chapter 7: Parsing JSON and XML Documents to Use Online APIs
Setting up Qt for Android
Parsing JSON results
Parsing XML results
Building Qt applications for Android
Parsing JSON in QML
Summary
Chapter 8: Enabling Your Qt Application to Support Other Languages
Internationalization of Qt applications
Translating Qt Widgets applications
Disambiguating identical texts
Changing languages dynamically
Translating Qt Quick applications
Summary
Chapter 9: Deploying Applications on Other Devices
Releasing Qt applications on Windows
Creating an installer
Packaging Qt applications on Linux
Deploying Qt applications on Android
Summary
Chapter 10: Don't Panic When You Encounter These Issues
Commonly encountered issues
Debugging Qt applications
Debugging Qt Quick applications
Useful resources
Summary

What You Will Learn

  • Create graphical user interface applications with a customized layout and widgets
  • Explore how the Model-View-Controller architecture works and relevant classes in Qt
  • Develop a configurable application that is able to save and restore its own settings
  • Write both static and dynamic plugins for Qt Widgets and Qt Quick applications
  • Convert your single-threaded application to a nonblocking application by moving part of the application to another thread
  • Enable your applications to support other languages dynamically

Authors

Table of Contents

Chapter 1: Creating Your First Qt Application
Creating a new project
Changing the layout of widgets
Understanding the mechanism of signals and slots
Connecting two signals
Creating a Qt Quick application
Connecting C++ slots to QML signals
Summary
Chapter 2: Building a Beautiful Cross-platform Clock
Creating a basic digital clock
Tweaking the digital clock
Saving and restoring settings
Building on the Unix platforms
Summary
Chapter 3: Cooking an RSS Reader with Qt Quick
Understanding model and view
Parsing RSS Feeds by XmlListModel
Tweaking the categories
Utilizing ScrollView
Adding BusyIndicator
Making a frameless window
Debugging QML
Summary
Chapter 4: Controlling Camera and Taking Photos
Accessing the camera in Qt
Controlling the camera
Displaying errors on the status bar
Permanent widgets in the status bar
Utilizing the menu bar
Using QFileDialog
QML camera
Summary
Chapter 5: Extending Paint Applications with Plugins
Drawing via QPainter
Writing static plugins
Writing dynamic plugins
Merging plugins and main program projects
Creating a C++ plugin for QML applications
Summary
Chapter 6: Getting Wired and Managing Downloads
Introducing Qt network programming
Utilizing QNetworkAccessManager
Making use of the progress bar
Writing multithreaded applications
Managing a system network session
Summary
Chapter 7: Parsing JSON and XML Documents to Use Online APIs
Setting up Qt for Android
Parsing JSON results
Parsing XML results
Building Qt applications for Android
Parsing JSON in QML
Summary
Chapter 8: Enabling Your Qt Application to Support Other Languages
Internationalization of Qt applications
Translating Qt Widgets applications
Disambiguating identical texts
Changing languages dynamically
Translating Qt Quick applications
Summary
Chapter 9: Deploying Applications on Other Devices
Releasing Qt applications on Windows
Creating an installer
Packaging Qt applications on Linux
Deploying Qt applications on Android
Summary
Chapter 10: Don't Panic When You Encounter These Issues
Commonly encountered issues
Debugging Qt applications
Debugging Qt Quick applications
Useful resources
Summary

Book Details

ISBN 139781784394615
Paperback272 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Application Development with Qt Creator - Second Edition Book Cover
Application Development with Qt Creator - Second Edition
$ 26.99
$ 18.90
Mastering Qt 5 Book Cover
Mastering Qt 5
$ 35.99
$ 25.20
Qt5 C++ GUI Programming Cookbook Book Cover
Qt5 C++ GUI Programming Cookbook
$ 35.99
$ 25.20
Boost C++ Application Development Cookbook Book Cover
Boost C++ Application Development Cookbook
$ 29.99
$ 21.00
Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90