[Development] Regarding qmlcachegen and qml bytecode compression
Fatih Uzunoğlu
fuzun54 at outlook.com
Fri Apr 11 03:45:36 CEST 2025
Hello,
I could not find a reference if `qmlcachegen` compresses (and relevant
part in `qtdeclarative` then decompresses) the QML bytecode it
generates. My understanding is that the bytecode is embedded to the C++
file it generates (in addition to the limited QML to C++ compilation),
and this is outside the resource system (which uses compression by default).
If this is the case, unlike `qsb` where shader bytecode would be subject
to regular compression through the resource system, QML bytecode would
not be compressed at all.
My question is that, does `qmlcachegen` compress the bytecode before it
is embedded in the generated C++ source file? If not, is there a plan to
do that or a reason not to do that?
Thanks in advance for the answer,
Fatih Uzunoğlu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4676 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250411/0ce0caca/attachment.bin>
More information about the Development
mailing list