| Summary: | Precompile qml | ||
|---|---|---|---|
| Product: | [Unmaintained] rust-qt-binding-generator | Reporter: | David Craven <david> |
| Component: | general | Assignee: | Jos van den Oever <jos> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
David Craven
2018-12-21 12:07:18 UTC
Good idea. You can compile them into the binary by generating them like so: for f in *.qml; do qmlcachegen $f; done and then adding them to the *.qrc file. I do not know if the files will be picked up like that. http://doc.qt.io/qt-5/qtquick-deployment.html has more information for how to do this with QMake and CMake. On my machine compiling the qmlc files takes about 10ms per file. rust-qt-binding-generator is no longer maintained, please try more recent alternatives like https://github.com/KDAB/cxx-qt/ |