更新时间:2021-08-05 17:05:35
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started with Qt Creator
Downloading Qt and Qt Creator
Finding your way around Qt Creator
Your first application – Hello World
Hello World using the QtGui library
Hello World using Qt Quick
Summary
Chapter 2. Building Applications with Qt Creator
Getting started – our sample library
Learning the landscape – the Build menu and the .pro files
Linking against our sample library
Getting lost and found again – debugging
The Projects pane and building your project
A review – running and debugging your application
Chapter 3. Designing Your Application with Qt Designer
Code interlude – signals and slots
Creating forms in Qt Designer
Instantiating forms message boxes and dialogs in your application
Wiring the Qt Widgets' application logic
Code interlude – Qt Quick and the QML syntax
Creating Qt Quick applications in Qt Designer
Chapter 4. Qt Foundations
Representing data using Qt's core classes
Multithreading in Qt
Accessing files using Qt
Accessing HTTP resources using Qt
Parsing XML using Qt
Chapter 5. Developing Applications with Qt Widgets
Your main application and its menus
Simple Qt Widgets
Managing the widget layout with layouts
Model-view-controller programming with Qt
Rendering web content with QWebView
Chapter 6. Drawing with Qt
What we need to start drawing with Qt
Drawing with QPainter on QPaintDevice instances
Drawing off screen
Creating custom widgets
The Graphics View Framework
Chapter 7. Doing More with Qt Quick
The fundamental concepts of Qt Quick
States and transitions in Qt Quick
Integrating Qt Quick and C++
Putting it all together – an image gallery application
Chapter 8. Multimedia and Qt Quick
Multimedia in Qt
Playing audio clips and sound effects
Playing video clips
Accessing the camera
Chapter 9. Sensors and Qt Quick
Sensors in Qt
Determining the device location
Obtaining a device's position – a simple example
Chapter 10. Localizing Your Application with Qt Linguist
Understanding the task of localization
Marking strings for localization
Localizing your application with QLinguist
Including localized strings in your application
Localizing special parameters – currencies and dates with QLocale
Chapter 11. Optimizing Performance with Qt Creator
The QML performance analyzer
Finding memory leaks with Valgrind
Chapter 12. Developing Mobile Applications with Qt Creator
A mobile software development primer
Setting up Qt Creator for Android
Supporting other mobile platforms
Chapter 13. Qt Tips and Tricks
Writing console applications with Qt Creator
Integrating Qt Creator with version control systems
Configuring the coding style and coding format options
Building projects from the command line
Setting the Qt Quick window display options
Learning more about Qt
Debugging Qt's signal-slot connections