# Mastering Qt 5 - Second Edition (August 2018)
<a href="https://www.packtpub.com/web-development/mastering-qt-5-second-edition"><img src="https://github.com/PacktPublishing/Mastering-Qt-5-Second-Editon/blob/master/media/mastering-qt5-2nd_cover.jpg?raw=true" alt="" width="300" height="370" align="right"></a>
This is the code repository for [Mastering Qt 5 - Second Edition](https://www.packtpub.com/web-development/mastering-qt-5-second-edition), published by Packt.
**Create stunning cross-platform applications using C++ with Qt Widgets and QML with Qt Quick**
## Book editions
* [Mastering Qt 5 - First Edition](https://github.com/PacktPublishing/Mastering-Qt-5)
* [Mastering Qt 5 - Second Edition](https://github.com/PacktPublishing/Mastering-Qt-5-Second-Editon)
## What is this book about?
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.
This book covers the following exciting features:
* 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
If you feel this book is for you, get your [copy](https://www.amazon.com/dp/1788995392) today!
<a href="https://www.packtpub.com/?utm_source=github&utm_medium=banner&utm_campaign=GitHubBanner"><img src="https://raw.githubusercontent.com/PacktPublishing/GitHub/master/GitHub.png"
alt="https://www.packtpub.com/" border="5" /></a>
## Errata
Official Packt errata page is https://www.packtpub.com/books/content/support/33683
### Chapter 2
* Page 42. `ULARGE_INTEGER` is a union, not a structure.
* Page 49. You should include "#include <stdio.h>" if you have some compilation errors with `std:sscanf()` in the "SysInfoLinuxImpl.cpp" file.
* Page 64. The sentence should be: "mPointPositionX is a long long int variable (qint64)".
### Chapter 3
* Page 83. The unix platform scope could be generated for a 'library' Qt project, even if you create the project from a Windows desktop.
* Page 87. The `GALLERYCORESHARED_EXPORT` macro must be added right *AFTER* the 'class' keyword (not before).
* Page 93. It's `QSqlQuery::bindValue()`, not `QSqlQuery::bind()`.
* Page 112. The `endRemoveRows()` function, which simply triggers the `rowsRemoved()` signal.
### Chapter 4
* Fix Album model index (trigger ASSERT on Windows DEBUG platform). Check [PR #1](https://github.com/PacktPublishing/Mastering-Qt-5-Second-Editon/pull/1) (thanks @ziembla)
### Chapter 5
* Qt for Android >= 5.14 now use Android clang multi ABI that broke the APK generation. Check [First edition Issue #13](https://github.com/PacktPublishing/Mastering-Qt-5/issues/13)
## Instructions and Navigations
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
```
void MemoryWidget::updateSeries()
{
double memoryUsed = SysInfo::instance().memoryUsed();
mSeries->append(mPointPositionX++, memoryUsed);
if (mSeries->count() > CHART_X_RANGE_COUNT) {
QChart* chart = chartView().chart();
chart->scroll(chart->plotArea().width()
/ CHART_X_RANGE_MAX, 0);
mSeries->remove(0);
}
}
```
**Following is what you need for this book:**
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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-14).
### Software and Hardware List
| Chapter | Software and Hardware required | OS required |
| -------- | ------------------------------------ | -----------------------------------|
| 1 to 14 | Qt 5.11, Xcode, Android SDK, Raspbian | Windows, Mac OS X, and Linux (Any) |
| 5 and 13 | Xcode, Android SDK | Windows, Mac OS X, and Linux (Any) |
| 6 | Raspbian, Raspberry Pi 3 | Windows, Mac OS X, and Linux (Any) |
### Related products <Other books you may enjoy>
* Qt 5 Projects [[Packt]](https://www.packtpub.com/application-development/qt-5-projects?utm_source=github&utm_medium=repository&utm_campaign=9781788293884) [[Amazon]](https://www.amazon.com/dp/1788293886)
* Learn Qt 5 [[Packt]](https://www.packtpub.com/web-development/learn-qt-5?utm_source=github&utm_medium=repository&utm_campaign=9781788478854) [[Amazon]](https://www.amazon.com/dp/1788478851)
## Get to Know the Authors
**Guillaume Lazar** is a software engineer living in France near Paris. He has worked in different companies, from startups to multinationals, in the last 10 years. He took the opportunity to observe and learn many team organizations and technologies.
In 2014, he founded his own software development company at the age of 27. The current hierarchical organization that applies to most companies seems obsolete to him. With his own company, he wants to try a different approach.
Although he defines himself as a Qt framework lover, he likes to mix different technologies and platforms. He also spends time on game development, machine learning, and electronics, because "things" become "alive".
**Robin Penea** has been working in the software industry for a more than a decade. He worked in startups and large companies with many technologies that ranged from embedded software to web development. Armed with this experience, he wrote the Mastering Qt 5 book to spread what he loves the most about the programming craft : proper design and quality code.The teaching bug has bitten him, and he continues to share what he learned online using videos. When he is not tinkering with some new technology, he either on a wall, rock-climbing or playing music on his piano. You can reach him via Twitter @synapticrob.
## Other books by the authors
* [Mastering Qt 5 - First Edition](https://www.packtpub.com/application-development/mastering-qt-5?utm_source=github&utm_medium=repository&utm_campaign=9781786467126)
### Suggestions and Feedback
[Click here](https://docs.google.com/forms/d/e/1FAIpQLSdy7dATC6QmEL81FIUuymZ0Wy9vH1jHkvpY57OiMeKGqib_Ow/viewform) if you have any feedback or suggestions.
没有合适的资源?快使用搜索试试~ 我知道了~
Mastering Qt 5.pdf 第二版 内容完整 含最新源码
共424个文件
cpp:117个
h:116个
png:33个
5星 · 超过95%的资源 需积分: 5 31 下载量 49 浏览量
2023-06-04
10:39:23
上传
评论
收藏 6.69MB ZIP 举报
温馨提示
Qt 5 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-org
资源推荐
资源详情
资源评论
收起资源包目录
Mastering Qt 5.pdf 第二版 内容完整 含最新源码 (424个子文件)
gradlew.bat 2KB
package-windows.bat 671B
apple.blend 544KB
MainWindow.cpp 7KB
MainWindow.cpp 7KB
AlbumWidget.cpp 5KB
AlbumWidget.cpp 5KB
MandelbrotCalculator.cpp 4KB
MainWindow.cpp 4KB
GamepadReceiver.cpp 4KB
MandelbrotWidget.cpp 4KB
MandelbrotWidget.cpp 4KB
main.cpp 4KB
XmlSerializer.cpp 3KB
XmlSerializer.cpp 3KB
PictureWidget.cpp 3KB
PictureWidget.cpp 3KB
PictureModel.cpp 3KB
PictureModel.cpp 3KB
PictureModel.cpp 3KB
PictureModel.cpp 3KB
MainWindow.cpp 3KB
Worker.cpp 3KB
FilterWidget.cpp 3KB
SysInfoMacImpl.cpp 3KB
AlbumModel.cpp 3KB
AlbumModel.cpp 2KB
AlbumModel.cpp 2KB
AlbumModel.cpp 2KB
PictureDao.cpp 2KB
PictureDao.cpp 2KB
PictureDao.cpp 2KB
PictureDao.cpp 2KB
HttpRequest.cpp 2KB
MandelbrotCalculator.cpp 2KB
FilterWidget.cpp 2KB
SoundEffectWidget.cpp 2KB
SoundEffectWidget.cpp 2KB
ThumbnailProxyModel.cpp 2KB
Track.cpp 2KB
Track.cpp 2KB
WorkerClient.cpp 2KB
ThumbnailProxyModel.cpp 2KB
MainWindow.cpp 2KB
SysInfoLinuxImpl.cpp 2KB
DatabaseManager.cpp 2KB
DatabaseManager.cpp 2KB
SysInfoWindowsImpl.cpp 2KB
TestJsonSerializer.cpp 2KB
PictureImageProvider.cpp 2KB
AlbumDao.cpp 2KB
AlbumDao.cpp 2KB
AlbumDao.cpp 2KB
AlbumDao.cpp 2KB
MainWindow.cpp 2KB
PictureImageProvider.cpp 2KB
Job.cpp 2KB
MainWindow.cpp 2KB
PictureDelegate.cpp 2KB
PictureDelegate.cpp 2KB
MemoryWidget.cpp 1KB
Job.cpp 1KB
AlbumListWidget.cpp 1KB
AlbumListWidget.cpp 1KB
Task.cpp 1KB
GalleryWidget.cpp 1KB
GalleryWidget.cpp 1KB
FilterPluginDesigner.cpp 1KB
main.cpp 1KB
TestTrack.cpp 1KB
PlaybackWorker.cpp 1001B
PlaybackWorker.cpp 1001B
DatabaseManager.cpp 997B
DatabaseManager.cpp 997B
TestGui.cpp 994B
FilterBlur.cpp 968B
FilterBlur.cpp 888B
FilterGrayscale.cpp 887B
main.cpp 808B
main.cpp 808B
FilterGrayscale.cpp 796B
main.cpp 781B
FilterLoader.cpp 777B
SysInfoWidget.cpp 744B
JsonSerializer.cpp 704B
JsonSerializer.cpp 704B
BinarySerializer.cpp 694B
BinarySerializer.cpp 694B
WorkerWidget.cpp 650B
CpuWidget.cpp 622B
DummySerializable.cpp 612B
main.cpp 592B
Picture.cpp 557B
Picture.cpp 557B
Picture.cpp 556B
Picture.cpp 556B
SysInfo.cpp 542B
SoundEvent.cpp 536B
SoundEvent.cpp 536B
MainWindow.cpp 478B
共 424 条
- 1
- 2
- 3
- 4
- 5
资源评论
- weixin_397142262023-08-04楼主好人啊, 有pdf有源码
simon73401
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功