Learn Qt 5: Build modern, responsive cross-platform desktop applications with Qt, C++, and QML
暫譯: 學習 Qt 5:使用 Qt、C++ 和 QML 建立現代化、響應式的跨平台桌面應用程式
Nicholas Sherriff (Nick)
- 出版商: Packt Publishing
- 出版日期: 2018-02-09
- 定價: $1,520
- 售價: 8.0 折 $1,216
- 語言: 英文
- 頁數: 346
- 裝訂: Paperback
- ISBN: 1788478851
- ISBN-13: 9781788478854
-
相關分類:
C++ 程式語言、Qt
立即出貨 (庫存=1)
商品描述
Learn the fundamentals of QT 5 framework to develop interactive cross-platform applications
Key Features
- 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
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.
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
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.
Table of Contents
- Install the Qt Framework and Qt Creator IDE
- Create a new solution and sub projects ready for application development.
- UX layout and navigation
- Styling QML and adding custom components
- Implement self aware data entities and JSON serialisation
- Unit testing our data entities
- Persist our data in a SQLite database
- Connect to the internet and consume a RSS feed
- Create a customised installation package for our application
商品描述(中文翻譯)
學習 QT 5 框架的基本原理,以開發互動式跨平台應用程式
主要特點
- QT 5 應用程式開發基本原理的實用指南
- 學習如何使用 QT 編寫可擴展、穩健且適應性強的 C++ 代碼
- 在 Windows、Mac OS 和 Linux 等不同平台上部署您的應用程式
書籍描述
Qt 是一個成熟且強大的框架,用於在多個平台上交付複雜的應用程式。它在 Linux 世界中有著豐富的歷史,廣泛應用於嵌入式設備,並在過去幾年在移動領域取得了重大進展。然而,在 Microsoft Windows 和 Apple Mac OS X 的世界中,C#/.NET 和 Objective-C/Cocoa 的主導地位使得 Qt 經常被忽視。
本書展示了 Qt 框架在桌面應用程式開發中的強大和靈活性,並顯示您如何一次編寫應用程式並將其部署到多個操作系統。從零開始構建一個完整的實際業務解決方案,包括獨特的 C++ 庫、QML 用戶界面和 QtTest 驅動的單元測試項目。
這是一套涵蓋大多數業務應用程式核心需求的基本技術,將使您能夠從空白頁面進展到已發佈的應用程式。
您將學到什麼
- 安裝和配置 Qt 框架及 Qt Creator IDE
- 從零開始創建一個新的多專案解決方案,並使用 QMake 控制其每個方面
- 使用 QML 實現豐富的用戶界面
- 學習 QtTest 的基本原理以及如何整合單元測試
- 構建自我感知的數據實體,能夠將自身序列化為 JSON
- 使用 SQLite 管理數據持久性和 CRUD 操作
- 連接到互聯網並消費 RSS 源
- 生成應用程式包以分發給其他用戶
本書適合誰
本書適合希望在 Microsoft Windows、Apple Mac OS X 和 Linux 桌面平台上創建現代、響應式應用程式的應用程式開發人員。您應該對 C++ 感到熟悉,但不需要具備 Qt 或 QML 的先前知識。
目錄
- 安裝 Qt 框架和 Qt Creator IDE
- 創建一個新的解決方案和子專案,準備進行應用程式開發。
- 用戶體驗佈局和導航
- 為 QML 添加樣式和自定義組件
- 實現自我感知的數據實體和 JSON 序列化
- 對我們的數據實體進行單元測試
- 在 SQLite 數據庫中持久化我們的數據
- 連接到互聯網並消費 RSS 源
- 為我們的應用程式創建自定義安裝包