本页内容

Qt Jenny 已知问题

Qt Jenny 1.0

  • Qt Jenny 会生成仅包含头文件的代码。这样做是为了充分利用QJniObject 中的模板功能,同时利用某些QJniObject 函数的推导返回类型,并将这些返回类型作为推导结果在Qt Jenny 生成的代码中暴露出来。我们预计将保持这种做法。
  • 生成的代码并非强类型代码。 如果某个函数接受两种不同的 Java 类型作为参数,调用代码需要按正确顺序传递正确的对象,否则错误将导致运行时错误。我们计划在Qt Jenny 1.1 版本中消除这一限制,使生成的代码能够支持参数的强类型,并将参数顺序错误视为编译时错误。

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