售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Dedication
About Packt
Why subscribe?
Packt.com
Foreword
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Section 1: Making Great UIs
Standard Qt Widgets
Hello mobile!
Qt Creator
Basic Qt Creator procedure
Qt Designer
Add a QMenu
Add QListView
Going smaller, handling screen sizes
Screen resolution
Memory and storage
Orientation
Gestures
Dynamic layouts
Graphics view
Summary
Fluid UI with Qt Quick
Qt Quick basics – anything goes
QML
Components
Dynamic binding
Signal connections
Model-view programming
GridView
ListView
PathView
TreeView
Gestures and touch
PinchArea
MultiPointTouchArea
Positioning
Layouts
Rigid layouts
Dynamic layout
Anchors
Qt Quick Controls 2 button, button, who's got the button?
Customizing
Show your data – Qt Data Visualization and Qt Charts
Qt Charts
Qt Data Visualization
Animate it!
Transitions
Animation
PropertyAnimation
NumberAnimation
SequentialAnimation
ParallelAnimation
SpringAnimation
Easing
SceneGraph
Summary
Graphical and Special Effects
The universe of particles
ParticleSystem
Particle painters, emitters, and affectors
Affectors
Shapes and directions
Graphical effects for Qt Quick
DropShadow
Glow
Gradient
Blur
Summary
Input and Touch
What to do when there's no keyboard
Using touch input
QEvent
Event filter
Event loop
Touchscreen support
Windows, iOS and Android
Linux
evdev
libevdev
libinput
Tslib
Using the touchscreen
MultiPointTouchArea
Qt Gestures
Voice as input
QtAlexaAuto
Summary
Section 2: Networking, Connectivity, Sensors, and Automation
Qt Network for Communication
High level – request, reply, and access
QNetworkRequest
QNetworkAccessManager
QNetworkReply
QFtp
Bearer Management of good news
QNetworkConfiguration
QNetworkConfiguration::BearerType
QNetworkConfiguration::StateFlags
QNetworkConfigurationManager
QNetworkSession
Roaming
QBearerEngine
Low level – of sockets and servers
QLocalServer
QLocalSocket
QTcpServer
QTcpSocket
QSctpServer
QSctpSocket
QUdpSocket
QSslSocket
QSslServer
Lookups – look me up
QHostInfo
QDnsLookup
Summary
Connectivity with Qt Bluetooth LE
What is Bluetooth Low Energy?
Implementing a BLE GATT server
QLowEnergyAdvertisingData
QLowEnergyCharacteristicData
QLowEnergyServiceData
Discovery and Pair-ity – search and connect for BLE devices
QBluetoothDeviceDiscoveryAgent
QBluetoothLocalDevice
Specifying and getting client data
QLowEnergyController
QLowEnergyService
QLowEnergyCharacteristic
QLowEnergyDescriptor
Bluetooth QML
BluetoothDiscoveryModel
BluetoothService
BluetoothSocket
Summary
Machines Talking
Sensory control – QtSensor data
QSensor
The QSensor subclass
QSensorFilter
QSensor data
QSensorReading
QML sensors
Custom QSensor and the backend engine
Custom QSensor
Custom QSensorBackend
Sensors.conf
QSensorGesture
QSensorGestureManager
SensorGesture
WebSockets – Bi-directional web communication
QWebSocketServer
QWebSocket
Client
QtQuick
WebSocketServer
WebSocket
QMqtt – Brokers of machine talk
QMqttClient
Putting it all together
Summary
Where Am I? Location and Positioning
Positioning with satellites
QGeoSatelliteInfoSource
QGeoSatelliteInfo
QGeoPositionInfoSource
QGeoPositionInfo
QGeoCoordinate
Qt Quick
Mapping the positions
Map
MapCircle
PluginParameter
RouteModel
Places of interest
Summary
Section 3: Other APIs Qt SQL, Qt Multimedia, and Qt Purchasing
Sounds and Visions - Qt Multimedia
Sonic vibrations – audio
Qt.vector3d
AudioEngine
AudioSample
Sound
AudioListener
SoundInstance
Audio
QAudioRecorder
QMediaPlayer
QAudioOutput
Image sensors – camera
QCameraInfo
Camera
VideoOutput
Visual media – playing video
Tuning it in – FM radio tuner
Summary
Remote Databases with Qt SQL
Technical requirements
Drivers are database backends
Setup
The MySQL server
SQLite
Connecting to a local or remote database
QSqlDatabase
Creating and opening a database
Adding data to the database
Executing queries
QSqlQuery
QSqlQueryModel
Summary
Enabling In-App Purchases with Qt Purchasing
Registering on Android Google Play
Registering on iOS App Store
Creating an in-app product
Store
Product
Transaction
Restoring purchases
Summary
Section 4: Mobile Deployment and Device Creation
Cross Compiling and Remote Debugging
Cross compiling
Traditional cross tools
DIY toolchain
Buildroot
Crosstool-NG
Prebuilt tools
Boot to Qt
Cross toolchains on Windows
Sysprogs
Windows Subsystem for Linux
Mobile platform-specific tools
iOS
Android
QNX
Connecting to a remote device
Qt Creator
Generic Linux
Android
iOS
Bare metal
Debugging remotely
gdbserver
Qt Creator
Summary
Deploying to Mobile and Embedded
Deployment for Android
The package
androiddeployqt
Qt Creator
Test track
Internal tests
Deployment for iOS
The package
Qt Creator
Xcode
Alternative OSes
Sailfish OS
UBports
Clickable
Embedded Linux
OS deployment
App deployment
Summary
Universal Platform for Mobiles and Embedded Devices
What is this WebAssembly thing?
Technical requirements
Getting started
Download Emscripten
Building an Emscripten SDK manually
Technical requirements
Configuring and compiling Qt
Building with the command line
Building with Qt Creator
The Build environment
The Run environment
Deploying for mobile and embedded devices
Tips, tricks, and suggestions
Browsers
Debugging
Networking
Fonts and filesystem access
OpenGL
Supported Qt modules
Other caveats
Summary
Building a Linux System
Bootcamp – Boot to Qt
Rolling your own – custom embedded Linux
System customization
local.conf file
meta-<layer> directories
<recipe>.bb files
devtool command
recipetool command
bitbake-layers
yocto-layer
bbappend files
Deploying to an embedded system
OpenEmbedded
Raspberry Pi
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜