diff options
Diffstat (limited to 'tools/qmlcachegen/qmlcachegen.cpp')
| -rw-r--r-- | tools/qmlcachegen/qmlcachegen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp index 3b8fe5bad4..aebca5f2fc 100644 --- a/tools/qmlcachegen/qmlcachegen.cpp +++ b/tools/qmlcachegen/qmlcachegen.cpp @@ -257,6 +257,11 @@ int main(int argc, char **argv) error.augment("Error compiling qml file: "_L1).print(); return EXIT_FAILURE; } + + if (parser.isSet(onlyBytecode)) { + QQmlJS::AotStats emptyStats; + emptyStats.saveToDisk(outputFileName + u".aotstats"_s); + } } else { QStringList importPaths; |
