Book Image

Application Development with Qt Creator - Second Edition

Book Image

Application Development with Qt Creator - Second Edition

Overview of this book

Table of Contents (20 chapters)
Application Development with Qt Creator Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 11. Optimizing Performance with Qt Creator

We don't use performance analysis tools every day, but we're glad that they're there when we need them. Commercial tools such as the ones that come with Microsoft Visual Studio or standalone tools such as IBM's Rational Rose Purify can set you back a pretty pile of change—fortunately, Qt Creator has most of what you need built-in or has support for working with open source tools to help you profile the runtime and the memory performance of your application.

In this chapter, we will see how to perform the runtime profiling of QML applications using the QML performance analyzer and learn how to read the reports it generates. We will then turn our attention to memory performance analysis with Valgrind using Qt Creator, which is a free option that helps you look for memory leaks and heap corruption on the Linux platform.

In this chapter, we will take a look at the following topics:

  • The QML performance analyzer

  • Finding memory leaks with Valgrind