How to do it...

Follow these steps to start profiling and optimizing a QML application:

  1. Let's create a Qt Quick Application - Empty project:
  1. Then, go to Analyze | QML Profiler and run the QML Profiler tool:
  1. Your Qt Quick project will then be ran by the QML Profiler. The QML Profiler window will also appear under the code editor. Click the Stop button located at the top bar of the QML Profiler window after the program is passed your test point, which in this case, successfully created the empty window:
  1. After you stop the profiler analysis, ...

Get Qt5 C++ GUI Programming Cookbook - Second Edition 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.