Application Development with Qt Creator

Learning an integrated development environment (IDE) can transform your capabilities as a developer. This book will help you harness the power of Qt Creator to GUI applications that cross all major platforms.

Application Development with Qt Creator

Progressing
Ray Rischpater

Learning an integrated development environment (IDE) can transform your capabilities as a developer. This book will help you harness the power of Qt Creator to GUI applications that cross all major platforms.
$10.00
$34.99
RRP $20.99
RRP $34.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781783282319
Paperback138 pages

About This Book

  • Introduces the basic concepts of programming using Qt and the Qt Quick framework, with tips and tricks to help you make the most of Qt Creator
  • Shows you how to write cross-platform mobile applications with Qt Creator
  • Full of illustrations and diagrams, with clear step-by-step instructions and practical examples that will help you build cross-platform applications using Qt and Qt Quick

Who This Book Is For

If you are a developer who is new to Qt and Qt Creator and is interested in harnessing the power of Qt for cross-platform development, this book is great for you. If you have basic experience programming in C++, you have what it takes to create great cross-platform applications using Qt and Qt Creator!

Table of Contents

Chapter 1: Getting Started with Qt Creator
Downloading Qt Creator
Finding your way around Qt Creator
Your first application – Hello World
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 .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 GUI application logic
Code interlude – Qt Quick and QML syntax
Creating Qt Quick applications in Qt Designer
Summary
Chapter 4: Localizing Your Application with Qt Linguist
Understanding the task of localization
Marking strings for localization
Localizing your application with Qt Linguist
Including localized strings in your application
Localizing special things – currencies and dates with QLocale
Summary
Chapter 5: Performance Optimization with Qt Creator
The QML performance analyzer
Finding memory leaks with Valgrind
Summary
Chapter 6: Developing Mobile Applications with Qt Creator
A mobile software development primer
Setting up Qt Creator for Android
Summary
Chapter 7: Qt Tips and Tricks
Writing console applications with Qt Creator
Integration with version control systems
Configuring coding style and coding format options
Building from the command line
Setting Qt Quick window display options
Learning more about Qt
Summary

What You Will Learn

  • Use Qt Creator's editor to edit your application source and resource files
  • Localize applications using Qt Linguist and Qt
  • Design 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
  • Gain valuable tips known only to professional developers

In Detail

Qt Creator is the leading open-source, cross-platform integrated development environment (IDE) for building GUI applications that run on Windows, Mac OS X, Linux, Android, and many embedded systems. It greatly simplifies cross-platform application development, targeting desktop computers, embedded platforms, and mobile systems. If you want to build and debug applications with Qt Creator in no time, then this book is for you.

This book provides a thorough introduction to using Qt Creator to make cross-platform applications that you can read in just a few hours. It covers everything you need to know to build applications with Qt Creator. This book also discusses the facets of Qt Creator that make it a valued software development environment for students and professionals alike.

The book 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 to use Qt to write cross-platform GUI applications for Mac OS X, Windows, Linux, and Android in C++ and Qt Quick.

This book covers how to craft GUIs with Qt Designer, localize applications using Qt Linguist, and profile application performance with Qt Creator's tools and valgrind. You will gain valuable insight in constructing applications using Qt in C++ and Qt Quick, Qt's declarative GUI authoring platform and learn everything you need to know to use Qt Creator effectively as a software developer.

Authors

Table of Contents

Chapter 1: Getting Started with Qt Creator
Downloading Qt Creator
Finding your way around Qt Creator
Your first application – Hello World
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 .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 GUI application logic
Code interlude – Qt Quick and QML syntax
Creating Qt Quick applications in Qt Designer
Summary
Chapter 4: Localizing Your Application with Qt Linguist
Understanding the task of localization
Marking strings for localization
Localizing your application with Qt Linguist
Including localized strings in your application
Localizing special things – currencies and dates with QLocale
Summary
Chapter 5: Performance Optimization with Qt Creator
The QML performance analyzer
Finding memory leaks with Valgrind
Summary
Chapter 6: Developing Mobile Applications with Qt Creator
A mobile software development primer
Setting up Qt Creator for Android
Summary
Chapter 7: Qt Tips and Tricks
Writing console applications with Qt Creator
Integration with version control systems
Configuring coding style and coding format options
Building from the command line
Setting Qt Quick window display options
Learning more about Qt
Summary

Book Details

ISBN 139781783282319
Paperback138 pages
Read More