When running `cargo run` in the `templates/qt_quick_cargo` folder, for every qml file a qmlc file is created in the same directory. Ideally it would precompile the qml into the binary in release mode and put the qmlc into the target directory in debug mode.
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/