Qt Interface Framework Generator
Qt Interface Framework provides a way for you to describe interfaces using its own Interface Definition Language (IDL) and then generate Qt/QML API code based on this definition. This generator is based on the QFace library, that provides a generic auto-generation framework.
- QFace IDL Syntax
- Jinja Template Syntax
- Use the Generator
- Filter Reference
- Build System Integration
- IPC Integration
- Get Started with the Qt Interface Framework Generator
Currently, Qt Interface Framework generator has the following limitations:
- There's no support for external C++ types, outside of the IDL, such as reusing a QGeoCoordinate inside a QFace IDL.
- Defined Interfaces can't be used as types in properties or function arguments.
map<>type is not supported.
- Any default values provided directly in the QFace file are currently ignored.
Note: There is no compatibility guarantee for the autogenerated code. This means that even application code that uses the autogenerated code is only guaranteed to work with the Qt Interface Framework version it was developed against. We try to keep the API source compatible for as long as possible.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.