このページについて

Qt Jenny 既知の問題

Qt Jenny 1.0

  • Qt Jenny はヘッダーのみのコードを生成します。これは、QJniObject のテンプレート機能を活用するため、また一部のQJniObject 関数の推論された戻り値型を使用し、Qt Jenny によって生成されるコード内でそれらの戻り値型を推論されたまま公開するためです。今後もこの方式を維持する予定です。
  • 生成されるコードは強タイプではありません。 2つの異なる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.