I correctly understand, you approach same like this http://doc.qt.io/QtQuickCompiler
rust_qt_binding_generator generates cpp files and rust files from a json file.
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.