QML Profiler - Interpretation of results - Compiling section
-
Dear all,
I would appreciate your help in interpreting QML profiler results on my application. By looking at the results, a lot of time is spent compiling the different qml files (and several times the same qml files).

What is surprising is that I use Qt Quick Compiler.
Some more information on the context :
- The application has been profiled on a release compilation
- Qt Quick Compiler is enabled (through Projects > Build Steps) and seems to work since no qml files are located in the build path
- CONFIG+=qtquickcompiler has been added to the pro file
- All qml files are included in .qrc
- The pro file includes the resources (RESOURCES += ...)
- QQuickView objects in .cpp are setting the source through url : .setSource(QUrl("qrc:/...)
- Qt version 5.11.1, MSVC2017
Several questions:
- Is it normal that so much time is spent on compiling qml files with Qt Quick Compiler enabled ?
- Why are the same files compiled several times (as many times as qml object are instantiated) ?
Thank you for any feedback you could provide...
EDIT 2019-01-30
More information on the problem description:- A given qml file is compiled as many times as the corresponding C++ object (which uses QML through QQuickView object) is instantiated. I thought it woul be compiled only once ?