This is the code repository for Hands On Mobile and Embedded Development with Qt 5, published by Packt.
Build apps for Android, iOS, and Raspberry Pi with C++ and Qt
Qt is a world-class framework, helping you to develop rich graphical user interfaces (GUIs) and multi-platform applications that run on all major desktop platforms and most mobile or embedded platforms. The framework helps you connect the dots across platforms and between online and physical experience.
This book covers the following exciting features:
- Explore the latest features of Qt, such as preview for Qt for Python and Qt for WebAssembly
- Create fluid UIs with a dynamic layout for different sized screens
- Deploy embedded applications on Linux systems using Yocto
- Design Qt APIs for building applications for embedded and mobile devices
- Utilize connectivity for networked and machine automated applications
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
if (!QTouchScreen::devices().isEmpty()) {
qApp->setStyleSheet("QButton {padding: 10px;}");
}
Following is what you need for this book: The book is ideal for mobile developers, embedded systems engineers and enthusiasts who are interested in building cross-platform applications with Qt. Prior knowledge of C++ is required.
With the following software and hardware list you can run all code files present in the book (Chapter 1-15).
Chapter | Software required | OS required |
---|---|---|
1 | Qt 5.12, Qt Creator | Windows, Mac OS X, and Linux (Any) |
2 | Qt 5.12 | Windows, Mac OS X, and Linux (Any) |
3 | Qt, QtGraphicalEffects 5.12 | Windows, Mac OS X, and Linux (Any) |
4 | Qt, Qt Virtual Keyboard | Windows, Mac OS X, Linux, iOS or Android |
5 | Qt | Windows, Mac OS X, and Linux (Any) |
6 | Qt, QtConnectivity | - |
7 | Qt, QtSensors, QtWebSockets, QtMqtt | Windows, Mac OS X, Linux, iOS or Android |
8 | Qt, QtLocation | Windows, Mac OS X, and Linux (Any) |
9 | Qt, QtMultimedia. | Windows, Mac OS X, and Linux (Any) |
10 | Qt, sqlite, mysql. | Windows, Mac OS X, and Linux (Any) |
11 | Qt, QtPurchasing | iOS or Android |
12 | Qt, Boot 2 Qt, Yocto, Buildroot, | Windows, Mac OS X, and Linux (Any) |
Crosstool-NG, Xcode, Android Studio, | ||
Android Studio | ||
13 | Qt, Sailfish OS SDK, UBPorts SDK | Windows, Mac OS X, and Linux (Any) |
14 | Qt 5.13, Emcripten, web browser | Linux |
15 | Qt, Boot 2 Qt, Yocto. | Linux |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
There is spacing issue in the code snippets present in the book. We advice you to use the code files present on GitHub or in the Code Bundle of the book.
Lorn Potter is a software developer, specializing in Qt and QML on mobile and embedded devices with his company, llornkcor technologies. He has worked for Trolltech, Nokia, Canonical, and was a freelance contractor for Jolla, Intopalo, and the Qt Company. He is the official maintainer of Qt Sensors, for which he developed the QSensorGestures API. He maintains the unsupported QtSystemInfo for the open source Qt Project and also works on Qt Bearer Management and Qt for WebAssembly. He has written blogs and articles for the Linux Journal. He started his career in tech as Trolltech's Qtopia Community Liaison. He currently resides in Australia and spends his spare time recording electronic psybient music for the project Brog on his website.
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.