Qt Jenny known issues

Qt Jenny 1.0

  • Qt Jenny generates header-only code. This is done in order to take advantage of template functionality in QJniObject, and also to use deduced return types of some QJniObject functions, and to expose those return types as deduced in the code generated by Qt Jenny. We expect to keep it that way.
  • The generated code is not strongly-typed. If you have a function that takes two different Java types as parameters, the calling code needs to pass the right objects in the right order, and mistakes are run-time errors. We expect to lift this limitation in Qt Jenny 1.1, and make it possible to generate code where the parameters have strong types, and mistakes in argument order are compile errors.
  • There is no support for implementing Java interfaces in C++. We expect to lift this limitation in Qt Jenny 1.1, and make it possible to generate C++ base classes that implement the API of a Java interface, and allow users to inherit such base classes and then pass their derived class objects as Java interface objects to strongly-typed generated APIs.

© 2025 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.