The QML engine in Qt 5 took advantage of hardware acceleration to make its rendering capability and performance superior to the old widgets user interface. However, it does not mean that you should not care about optimization; that is because small performance issues may snowball into bigger problems over time and causing damage to your product's reputation.
Profiling and optimizing QML
How to do it...
Follow these steps to start profiling and optimizing a QML application:
- Let's create a Qt Quick Application - Empty project:
- Then, go to Analyze | QML Profiler and run the QML Profiler tool:
- Your Qt Quick project will then be ran by the QML Profiler. The QML Profiler window will also appear under the code editor...