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'.
| For Gerrit Dashboard: AUTOSUITE-1190 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 271269,3 | ivigenerator: Support enums and flags as return values of operations | 5.13 | qt/qtivi | Status: MERGED | +2 | 0 |