Mastering Qt 5 : Create Stunning Cross-platform Applications Using C++ with Qt Widgets and QML with Qt Quick, 2nd Edition 🔍
Guillaume Lazar, Robin Penea Packt Publishing, Limited, 2nd Revised edition, 2018-08-27
英语 [en] · EPUB · 4.4MB · 2018 · 📘 非小说类图书 · 🚀/lgli/lgrs/nexusstc/zlib · Save
描述
**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 DescriptionQt 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 forMastering 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.
Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
备用文件名
lgli/Mastering Qt 5 - Robin Penea.epub
备用文件名
lgrsnf/Mastering Qt 5 - Robin Penea.epub
备用文件名
zlib/Computers/Guillaume Lazar, Robin Penea/Mastering Qt 5_3632838.epub
备选标题
Mastering Qt 5 - Second Edition
备选作者
Lazar, Guillaume, Penea, Robin
备用出版商
de Gruyter GmbH, Walter
备用版本
United Kingdom and Ireland, United Kingdom
备用版本
Place of publication not identified, 2018
备用版本
Second edition, Birmingham, UK, 2018
备用版本
Packt Publishing, Birmingham, 2016
备用版本
2nd ed, Birmingham, UK, 2018
备用版本
Birmingham, England, 2018
备用版本
2, PS, 2018
元数据中的注释
Converted
元数据中的注释
0
元数据中的注释
lg2290792
元数据中的注释
{"edition":"2","isbns":["1788993896","1788995392","9781788993890","9781788995399"],"last_page":534,"publisher":"Packt Publishing"}
备用描述
1: Get Your Qt Feet Wet
Qt project basic structure
MainWindow structure
Qt Designer interface
Signals and slots
Custom QWidget
Adding a task
Using a QDialog
Distributing code responsibility
Emitting a custom signal using lambdas
Simplifying with the auto type and a range-based for loop
Summary
2: Discovering qmake Secrets
Designing a cross-platform project
Transforming SysInfo into a singleton
Exploring Qt Charts
CpuWidget using QCharts
Memory using Qcharts
The .pro file in depth
Under the hood of qmake
Beneath Q_OBJECT and signals/slots
Summary
3: Dividing Your Project and Ruling Your Code
Designing a maintainable project
Defining data classes
Storing your data in a database
Protecting your code with a smart pointer
Implementing the model
Summary
4: Conquering the Desktop UI
Creating a GUI linked to a core shared library
Listing your albums with AlbumListWidget
Creating ThumbnailProxyModel
Displaying the selected album with AlbumWidget
Enhancing thumbnails with PictureDelegate
Displaying a picture with PictureWidget
Composing your Gallery app
Summary
5: Dominating the Mobile UI
Starting with Qt Quick and QML
Checking your development environment
Creating a Qt Quick project
Preparing your Qt Quick gallery entry point
Displaying albums with ListView
Theming the application with a QML singleton
Loading a database on mobile devices
Creating a new album from a custom InputDialog
Loading images with an ImageProvider
Displaying thumbnails in GridView
Swiping through full resolution images
Summary
6: Even Qt Deserves a Slice of Raspberry Pi
Discovering Qt3D
Configuring Qt for your Raspberry Pi
Creating an entry point for your Qt3D code
Setting up the scene
Assembling your Qt3D entities
Preparing the board game
Crafting entities from the factory
Building a snake engine in JavaScript
Varying the HUD with QML states
Profiling your QML application
Summary
7: Third-Party Libraries without a Headache
Creating your Qt Designer plugin
Configuring the project for Windows
Configuring the project for Linux
Configuring the project for Mac
Implementing your OpenCV filters
Designing the UI with FilterWidget
Exposing your plugin to Qt Designer
Using your Qt Designer plugin
Building the image-filter application
Summary
8: Animations - Its Alive, Alive!
Creating an SDK using the Qt Plugin system
Creating your plugins
Loading your plugins dynamically
Using the plugins inside the application
Discovering the Animation Framework
Making your thumbnails jump
Fading in the picture
Flashing the thumbnail in a sequence
Summary
9: Keeping Your Sanity with Multithreading
Discovering QThread
Flying over Qt multithreading technologies
Architecting the Mandelbrot project
Defining a Job class with QRunnable
Using QThreadPool in MandelbrotCalculator
Displaying the fractal with MandelbrotWidget
Summary
10: Need IPC? Get Your Minions to Work
Inter-process communication techniques
Architecturing an IPC project
Laying down the foundations with an SDK
Working with QDataStream and QTcpSocket
Interacting with sockets in the worker
Interacting with sockets from the application
Building your own QTcpServer
Summary
11: Having Fun with Multimedia and Serialization
Architecting the drum machine project
Creating a drum track
Making your objects serializable with QVariant
Serializing objects in JSON format
Serializing objects in XML format
Serializing objects in binary format
Playing low-latency sounds with QSoundEffect
Triggering a QButton with your keyboard
Bringing PlaybackWorker to life
Accepting mouse drag-and-drop events
Summary
12: You Shall (Not) Pass with QTest
Discovering Qt Test
Executing your tests
Writing factorized tests with datasets
Benchmarking your code
Testing your GUI
Spying on your application with QSignalSpy
Summary
13: All Packed and Ready to Deploy
Packaging your application
Packaging for Windows
Packaging for Linux with a distribution package
Packaging for Linux with AppImage
Packaging for OS X
Packaging for Android
Packaging for iOS
Summary
14: Qt Hat Tips and Tricks
Managing your workspace with sessions
Searching with the Locator
Increasing the compilation speed
Examining memory with Qt Creator
Generating random numbers
Silencing unused variable warnings
Logging custom objects to QDebug
Improving log messages
Saving your logs to a file
Generating a command-line interface
Sending and receiving HTTP data
Playing with Qt Gamepad
Styling QML with Qt Quick Controls 2
Summary
备用描述
An In-depth guide updated with the latest version of Qt 5.11 including new features such as Quick Controls and Qt Gamepad
Key FeaturesUnleash 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 5Book DescriptionQt 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 learnCreate stunning UIs with Qt Widgets and Qt Quick 2Develop powerful, cross-platform applications with the Qt frameworkDesign GUIs with the Qt Designer and build a library in it for UI previewsHandle user interaction with the Qt signal or slot mechanism in C++Prepare a cross-platform project to host a third-party libraryUse the Qt Animation framework to display stunning effectsDeploy mobile apps with Qt and embedded platformsInteract with a gamepad using Qt GamepadWho this book is forMastering 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 ContentsGet Your Qt Feet WetDiscovering qmake SecretsDividing Your Project and Ruling Your CodeConquering the Desktop UIDominating the Mobile UIEven Qt Deserves a Slice of Raspberry PiThird-Party Libraries without a HeadacheAnimations - Its Alive, Alive!Keeping Your Sanity with MultithreadingNeed IPC? Get Your Minions to WorkHaving Fun with Multimedia and SerializationYou Shall (Not) Pass with QTestAll Packed and Ready to DeployQt Hat Tips and Tricks
备用描述
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.
Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
备用描述
BAn In-depth guide updated with the latest version of Qt 5.11 including new features such as Quick Controls and Qt Gamepad/b h4Key Features/h4 ulliUnleash the power of Qt 5.11 with C++ /li liBuild applications using Qt Widgets (C++) or Qt Quick (QML) /li liCreate cross-platform applications for mobile and desktop platforms with Qt 5 /li /ul h4Book Description/h4 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. h4What you will learn/h4 ulliCreate stunning UIs with Qt Widgets and Qt Quick 2 /li liDevelop powerful, cross-platform applications with the Qt framework /li liDesign GUIs with the Qt Designer and build a library in it for UI previews /li liHandle user interaction with the Qt signal or slot mechanism in C++ /li liPrepare a cross-platform project to host a third-party library /li liUse the Qt Animation framework to display stunning effects /li liDeploy mobile apps with Qt and embedded platforms /li liInteract with a gamepad using Qt Gamepad/li/ul h4Who this book is for/h4 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
备用描述
If you're building GUI prototypes or cross-platform GUI applications, then this book is your fastest and most powerful solution. It will address challenges in developing cross-platform applications with the Qt framework. With every chapter you'll take a step closer to mastering Qt. By the end, you'll have an application that is ready to be shipped.
开源日期
2018-12-01
更多信息……

🚀 快速下载

成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️

🐢 低速下载

由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)

所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
  • 对于大文件,我们建议使用下载管理器以防止中断。
    推荐的下载管理器:JDownloader
  • 您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
    推荐的电子书阅读器:Anna的档案在线查看器ReadEraCalibre
  • 使用在线工具进行格式转换。
    推荐的转换工具:CloudConvertPrintFriendly
  • 您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
    推荐的工具:亚马逊的“发送到 Kindle”djazz 的“发送到 Kobo/Kindle”
  • 支持作者和图书馆
    ✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
    📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。