Application Development with Qt Creator - Second Edition

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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

In Detail

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.

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

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Author(s): Ray Rischpater
Edition: 2
Publisher: Packt Publishing
Year: 2014

Language: English
Commentary: Converted
Pages: 264
City: Birmingham
Tags: Programming;Qt5;C++;CPP;GUI;User Interface

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

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

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

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

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

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

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

8: Multimedia and Qt Quick
Multimedia in Qt
Playing audio clips and sound effects
Playing video clips
Accessing the camera
Summary

9: Sensors and Qt Quick
Sensors in Qt
Determining the device location
Obtaining a device's position – a simple example
Summary

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

11: Optimizing Performance with Qt Creator
The QML performance analyzer
Finding memory leaks with Valgrind
Summary

12: Developing Mobile Applications with Qt Creator
A mobile software development primer
Setting up Qt Creator for Android
Supporting other mobile platforms
Summary

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