Introducing QML Profiler

In the previous section, Introducing QML performance analysis, you were introduced to QML Profiler and its basic functionality. In this section, we will explore what other features QML Profiler can offer us to make our debugging process faster and more effective. We will also learn how to examine the data displayed in QML Profiler and what the data indicates, so that we can determine the cause of slowdowns or crashes happening to our application.

To demonstrate this, let's perform the following steps:

  1. Let's create a new Qt Quick project and change the code of main.qml to the following:
import QtQuick 2.12import QtQuick.Window 2.12Window {    id: window    visible: true    width: 640    height: 480 title: qsTr("Hello World") ...

Get Application Development with Qt Creator now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.