Learn Qt 5: Build modern,responsive cross-platform desktop applications with Qt,C++,and QML
by 作者: Nicholas Sherriff (Nick)
ISBN-10 书号: 1788478851
ISBN-13 书号: 9781788478854
Publisher Finelybook 出版日期: 2018-02-09
Publisher Finelybook 出版社: Packt
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.
1: HELLO QT
2: PROJECT STRUCTURE
3: USER INTERFACE
6: UNIT TESTING
8: WEB REQUESTS
9: WRAPPING UP
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
Nicholas Sherriff (Nick) spent the majority of his career at a major utility company in the UK,working predominantly with C#,ASP.NET,and SQL Server on the Microsoft Windows platform.
With the accelerated adoption of mobile devices and increased demand for cross-platform applications,he was tasked with leading the native application development function. After some experimentation with C++,CX and Objective-C,he eventually discovered Qt and set about integrating it into the business,utilising it on a major greenfield project lasting some two years. After 20 years of service,Nick moved to a communications recording software house to begin a new challenge.
A frustrated creative,Nick plays several instruments and writes and records music of various genres. The rest of his time is frittered away with computer games,films,TV,books,cats,half-hearted calisthenics,and slow walks in creepy woods.