aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlcachegen/resourcefilter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for compiling QML/JS files ahead of time in resourcesSimon Hausmann2018-01-281-0/+183
This is bringing over the loading infrastructure from the Qt Quick Compiler that allows embedding qml/js files in resources and compiling them ahead of time. At the moment, the approach of generating one cpp file per qml/js file and the loader stub is needed because the build system does not support dynamic resource generation. In addition, as per QTBUG-60961, we must ensure that the generated data structures are aligned. To retain compatibility this is enabled via CONFIG += qtquickcompiler, but we may need to find a new name (but should keep the old one in any case). Task-number: QTBUG-60961 Change-Id: Ia9839bf98d3af4c50636b6e06815364a9fc7ee57 Reviewed-by: Lars Knoll <lars.knoll@qt.io>