Skip to content

Include only needed headers instead of QtQml module header

#include <QtQml> results in inclusion of all headers of the module, and additionally also the headers of all dependencies, via the header QtQmlDepends, which includes the headers QtCore, QtQmlIntegration and QtNetwork, which do the same thing again. Not using that saves some CPU cycles and memory building :)

No installed headers affected, so includes change should not affect C++ API consumer code.

Merge request reports

Loading