Learn QT 5

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

Learn QT 5

Nicholas Sherriff

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

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.00
RRP $35.99
Save 49%
Print + eBook
$44.99
RRP $44.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
$18.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learn QT 5 Book Cover
Learn QT 5
$ 35.99
$ 18.00
Mastering Machine Learning Algorithms Book Cover
Mastering Machine Learning Algorithms
$ 35.99
$ 18.00
Buy 2 for $35.00
Save $36.98
Add to Cart

Book Details

ISBN 139781788478854
Paperback346 pages

Book Description

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.

Table of Contents

Chapter 1: Hello Qt
Installing Qt
Summary
Chapter 2: Project Structure
Projects, MVC, and unit testing
Mastering MVC
Summary
Chapter 3: User Interface
UX
Creating views
StackView
Anchors
Sizing
Navigation
Summary
Chapter 4: Style
Style resource
Font Awesome
Components
Styling the navigation bar
Summary
Chapter 5: Data
JSON
Object hierarchy
DataDecorators
Entities
Entity collections
Data models
Custom TextBox
Summary
Chapter 6: Unit Testing
Unit testing
The default Qt approach
Custom approach
DataDecorator tests
Entity Tests
Mocking
Summary
Chapter 7: Persistence
SQLite
Panels
Summary
Chapter 8: Web Requests
Network access
Web Requests
Summary
Chapter 9: Wrapping Up
Object factory
Summary

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

Authors

Table of Contents

Chapter 1: Hello Qt
Installing Qt
Summary
Chapter 2: Project Structure
Projects, MVC, and unit testing
Mastering MVC
Summary
Chapter 3: User Interface
UX
Creating views
StackView
Anchors
Sizing
Navigation
Summary
Chapter 4: Style
Style resource
Font Awesome
Components
Styling the navigation bar
Summary
Chapter 5: Data
JSON
Object hierarchy
DataDecorators
Entities
Entity collections
Data models
Custom TextBox
Summary
Chapter 6: Unit Testing
Unit testing
The default Qt approach
Custom approach
DataDecorator tests
Entity Tests
Mocking
Summary
Chapter 7: Persistence
SQLite
Panels
Summary
Chapter 8: Web Requests
Network access
Web Requests
Summary
Chapter 9: Wrapping Up
Object factory
Summary

Book Details

ISBN 139781788478854
Paperback346 pages
Read More

Read More Reviews

Recommended for You

Mastering Machine Learning Algorithms Book Cover
Mastering Machine Learning Algorithms
$ 35.99
$ 18.00
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 12.00
Learning Qt 5 [Video] Book Cover
Learning Qt 5 [Video]
$ 124.99
$ 25.00
Qt 5 Projects Book Cover
Qt 5 Projects
$ 35.99
$ 18.00
Computer Vision with OpenCV 3 and Qt5 Book Cover
Computer Vision with OpenCV 3 and Qt5
$ 39.99
$ 20.00
Learn to Create WordPress Themes by Building 5 Projects Book Cover
Learn to Create WordPress Themes by Building 5 Projects
$ 27.99
$ 14.00