Application Development with Qt Creator - Second Edition

Design and build dazzling cross-platform applications using Qt and Qt Quick

Application Development with Qt Creator - Second Edition

Ray Rischpater

3 customer reviews
Design and build dazzling cross-platform applications using Qt and Qt Quick
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781784398675
Paperback264 pages

Book Description

Qt Creator is a cross-platform C++ IDE (Integrated Development Environment) that is part of the Qt project. It is used for building GUI applications that run on Windows, Mac OS X, Linux, Android, and many embedded systems. It includes a visual debugger and a forms designer within an integrated GUI.

Application Development with Qt Creator Second Edition, covers everything you need to know to build cross-platform applications with Qt Creator. It starts by showing you how to get, install, and use Qt Creator, beginning with the basics of how to edit, compile, debug, and run applications. Along the way, you will learn how to use Qt to write cross-platform GUI applications for Mac OS X, Windows, Linux, and Android in C++ and Qt Quick.

You will become proficient with the facets of Qt Creator that make it a valued software development environment for students and professionals alike.

Table of Contents

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
Summary
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
Summary
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
Summary
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
Summary
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
Summary
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
Summary
Chapter 8: Multimedia and Qt Quick
Multimedia in Qt
Playing audio clips and sound effects
Playing video clips
Accessing the camera
Summary
Chapter 9: Sensors and Qt Quick
Sensors in Qt
Determining the device location
Obtaining a device's position – a simple example
Summary
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
Summary
Chapter 11: Optimizing Performance with Qt Creator
The QML performance analyzer
Finding memory leaks with Valgrind
Summary
Chapter 12: Developing Mobile Applications with Qt Creator
A mobile software development primer
Setting up Qt Creator for Android
Supporting other mobile platforms
Summary
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
Summary

What You Will Learn

  • Use Qt Creator's editor to edit your application source and resource files
  • Explore the core functions of Qt Creator
  • Compile and debug your Qt Quick and C++ applications using Qt Creator
  • Localize applications using Qt Linguist and Qt
  • Build GUI applications using both Qt and Qt Quick
  • Write mobile applications for Android using Qt Creator and Qt Quick
  • Integrate version control with Qt Creator
  • Analyze your application's runtime performance with Qt Creator

Authors

Table of Contents

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
Summary
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
Summary
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
Summary
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
Summary
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
Summary
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
Summary
Chapter 8: Multimedia and Qt Quick
Multimedia in Qt
Playing audio clips and sound effects
Playing video clips
Accessing the camera
Summary
Chapter 9: Sensors and Qt Quick
Sensors in Qt
Determining the device location
Obtaining a device's position – a simple example
Summary
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
Summary
Chapter 11: Optimizing Performance with Qt Creator
The QML performance analyzer
Finding memory leaks with Valgrind
Summary
Chapter 12: Developing Mobile Applications with Qt Creator
A mobile software development primer
Setting up Qt Creator for Android
Supporting other mobile platforms
Summary
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
Summary

Book Details

ISBN 139781784398675
Paperback264 pages
Read More
From 3 reviews

Read More Reviews

Recommended for You

Qt 5 Blueprints Book Cover
Qt 5 Blueprints
$ 39.99
$ 28.00
Mastering Qt 5 Book Cover
Mastering Qt 5
$ 35.99
$ 25.20
Boost C++ Application Development Cookbook Book Cover
Boost C++ Application Development Cookbook
$ 29.99
$ 21.00
Qt5 C++ GUI Programming Cookbook Book Cover
Qt5 C++ GUI Programming Cookbook
$ 35.99
$ 25.20
Mastering OpenCV with Practical Computer Vision Projects Book Cover
Mastering OpenCV with Practical Computer Vision Projects
$ 26.99
$ 5.40
Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20