Learn Qt 5: Build modern, responsive cross-platform desktop applications with Qt, C++, and 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 桌面平台上創建現代、響應式應用程式的應用程式開發人員。您應該