Learn Qt 5: Build modern, responsive cross-platform desktop applications with Qt, C++, and QML
內容描述
Learn the fundamentals of QT 5 framework to develop interactive cross-platform applicationsKey FeaturesA practical guide on the fundamentals of application development with QT 5Learn to write scalable, robust and adaptable C++ code with QTDeploy your application on different platforms such as Windows, Mac OS, and LinuxBook DescriptionQt 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.What you will learnInstall and configure the Qt Framework and Qt Creator IDECreate a new multi-project solution from scratch and control every aspect of it with QMakeImplement a rich user interface with QMLLearn the fundamentals of QtTest and how to integrate unit testingBuild self-aware data entities that can serialize themselves to and from JSONManage data persistence with SQLite and CRUD operationsReach out to the internet and consume an RSS feedProduce application packages for distribution to other usersWho This Book Is ForThis 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.Table of ContentsInstall the Qt Framework and Qt Creator IDE Create a new solution and sub projects ready for application development.UX layout and navigationStyling QML and adding custom components Implement self aware data entities and JSON serialisation Unit testing our data entitiesPersist our data in a SQLite database Connect to the internet and consume a RSS feedCreate a customised installation package for our application