Code generation for the frontend fails when the return type of a operation is an enum.
Example QFace file:
module test 1.0
@config: { qml_type: "Test" }
interface Test {
ResultCode test();
}
enum ResultCode {
SUCCESSFUL,
ERROR_FOO,
ERROR_BAR,
}
This results in the following error:
../5.13.0/gcc_64/bin/ivigenerator/templates_frontend/interface.cpp.tpl:388: error: 'param' is undefined
In interface.cpp.tpl on line 388 'param.type' should be 'operation.type'.