No, it was, but then they abandoned these plans and replaced it with caching.
I do not think that you can reuse .qmlc files on another computer, since IIRC they are not portable architecture.
In the future, it should be possible to compile .qml to .qmlc and combine them into a binary application file.
If your files are on the file system, then there is no way to protect them from reading, reverse engineering, or being modified .
With the compiler, QML code is translated into C ++ code, which is then compiled into its own binary file. Also, the last time I checked if you go to the compiler, this is an βor / orβ situation, if you use compiled qml, you can only use compiled qml, so do not mix with regular qml files. It is also ahead of time and requires a commercial license.
Qml caching, unlike time, is accurate (possibly in the future), does not require a commercial license and does not have restrictions that do not allow the use of regular qml files. I do not know the implementation details, but this is certainly not qml code translated into C ++ and then compiled as it happens on the client side, and does not require Qt or even a C ++ compiler. It is also not like bytecode, since IIRC is not compatible with binary systems between platforms, it is more like caching the result of processing qml files so that it does not execute it every time.
As pointed out in this answer , with some additional work, it would be possible to implement decent protection, for example, encrypted QML files or binary resources, but I still did not dig into it.
Finally, if you set the compression for a low threshold qrc file, it will somewhat confuse the QML code in the binary executable, but even then it is regular zip compression, so if your code is really worth stealing, it really won't stop it. just make it less trivial.