Mastering Qt 5: Create stunning cross-platform applications using C++ with Qt Widgets and QML with Qt Quick, 2/e (Paperback)

Guillaume Lazar, Robin Penea

  • 出版商: Packt Publishing
  • 出版日期: 2018-08-27
  • 售價: $1,620
  • 貴賓價: 9.5$1,539
  • 語言: 英文
  • 頁數: 534
  • 裝訂: Paperback
  • ISBN: 1788995392
  • ISBN-13: 9781788995399
  • 相關分類: C++ 程式語言Qt
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

An In-depth guide updated with the latest version of Qt 5.11 including new features such as Quick Controls and Qt Gamepad

Key Features

  • Unleash the power of Qt 5.11 with C++
  • Build applications using Qt Widgets (C++) or Qt Quick (QML)
  • Create cross-platform applications for mobile and desktop platforms with Qt 5

Book Description

Qt 5.11 is an app development framework that provides a great user experience and develops full capability applications with Qt Widgets, QML, and even Qt 3D. Whether you're building GUI prototypes or fully-fledged cross-platform GUI applications with a native look and feel, Mastering Qt 5 is your fastest, easiest, and most powerful solution. This book addresses various challenges and teaches you to successfully develop cross-platform applications using the Qt framework, with the help of well-organized projects.

Working through this book, you will gain a better understanding of the Qt framework, as well as the tools required to resolve serious issues, such as linking, debugging, and multithreading. You'll start off your journey by discovering the new Qt 5.11 features, soon followed by exploring different platforms and learning to tame them. In addition to this, you'll interact with a gamepad using Qt Gamepad. Each chapter is a logical step for you to complete in order to master Qt.

By the end of this book, you'll have created an application that has been tested and is ready to be shipped.

What you will learn

  • Create stunning UIs with Qt Widgets and Qt Quick 2
  • Develop powerful, cross-platform applications with the Qt framework
  • Design GUIs with the Qt Designer and build a library in it for UI previews
  • Handle user interaction with the Qt signal or slot mechanism in C++
  • Prepare a cross-platform project to host a third-party library
  • Use the Qt Animation framework to display stunning effects
  • Deploy mobile apps with Qt and embedded platforms
  • Interact with a gamepad using Qt Gamepad

Who this book is for

Mastering Qt 5 is for developers and programmers who want to build GUI-based applications. C++ knowledge is necessary, and knowing QT basics will help you get the most out of this book.

Table of Contents

  1. GET YOUR QT FEET WET
  2. DISCOVERING QMAKE SECRETS
  3. DIVIDING YOUR PROJECT AND RULING YOUR CODE
  4. CONQUERING THE DESKTOP UI
  5. DOMINATING THE MOBILE UI
  6. EVEN QT DESERVES A SLICE OF RASPBERRY PI
  7. THIRD-PARTY LIBRARIES WITHOUT A HEADACHE
  8. ANIMATIONS - ITS ALIVE, ALIVE!
  9. KEEPING YOUR SANITY WITH MULTITHREADING
  10. NEED IPC? GET YOUR MINIONS TO WORK
  11. HAVING FUN WITH SERIALIZATION
  12. YOU SHALL (NOT) PASS WITH QTEST
  13. ALL PACKED AND READY TO DEPLOY
  14. QT HAT TIPS AND TRICKS

商品描述(中文翻譯)

深入指南,包含最新版本的Qt 5.11,包括新功能如Quick Controls和Qt Gamepad

主要特點



  • 使用C++發揮Qt 5.11的威力

  • 使用Qt Widgets(C++)或Qt Quick(QML)構建應用程序

  • 使用Qt 5為移動和桌面平台創建跨平台應用程序

書籍描述


Qt 5.11是一個應用程序開發框架,提供出色的用戶體驗,並使用Qt Widgets、QML甚至Qt 3D開發具有完整功能的應用程序。無論您是構建GUI原型還是具有本地外觀和感覺的完整跨平台GUI應用程序,掌握Qt 5是您最快、最簡單、最強大的解決方案。本書解決了各種挑戰,並教您如何使用Qt框架成功開發跨平台應用程序,並通過組織良好的項目幫助您。

通過閱讀本書,您將更好地了解Qt框架以及解決嚴重問題(如鏈接、調試和多線程)所需的工具。您將首先發現新的Qt 5.11功能,然後探索不同的平台並學習如何掌握它們。此外,您還將使用Qt Gamepad與遊戲手柄進行交互。每一章都是您掌握Qt所需完成的邏輯步驟。

通過閱讀本書,您將創建一個經過測試並準備好發布的應用程序。

您將學到什麼



  • 使用Qt Widgets和Qt Quick 2創建令人驚艷的UI

  • 使用Qt框架開發功能強大的跨平台應用程序

  • 使用Qt Designer設計GUI並在其中構建庫以進行UI預覽

  • 使用C++中的Qt信號或槽機制處理用戶交互

  • 準備跨平台項目以托管第三方庫

  • 使用Qt動畫框架顯示令人驚艷的效果

  • 使用Qt和嵌入式平台部署移動應用程序

  • 使用Qt Gamepad與遊戲手柄進行交互

本書適合對象


本書適合開發人員和程序員,他們想要構建基於GUI的應用程序。需要具備C++知識,並且了解Qt基礎將有助於您充分利用本書。

目錄



  1. 入門Qt

  2. 發現QMake的秘密

  3. 劃分項目和管理代碼

  4. 掌握桌面UI

  5. 掌握移動UI

  6. 讓Qt也能在樹莓派上運行

  7. 無痛使用第三方庫

  8. 動畫-它活了起來!

  9. 多線程保持理智

  10. 需要IPC?讓您的小兵工作

  11. 序列化的樂趣

  12. 使用QTest進行測試

  13. 打包並準備部署

  14. Qt的技巧和訣竅