r/QtFramework • u/QtJambi • 18h ago
QtJambi 6.12.1 – Java/Kotlin bindings for Qt 6.12.1 released
7
Upvotes
I maintain QtJambi, the Java and Kotlin bindings for Qt. Version 6.12.1 is out, with binaries for Qt 6.12.1 on JDK 11+ for Windows, macOS, Linux and Android, all on Maven Central (io.qtjambi:qtjambi:6.12.1). What's new:
- Performance: simple Java-to-native calls are 3–4× faster, virtual calls from Qt into Java overrides (events, event filters, item models) about a third faster, startup ~8% faster.
- Android without Gradle: the QtJambi deployer builds signed APKs and Google Play App Bundles directly from your jars. It packs only the Qt libraries, plugins and QML modules your app actually needs. You need the Android SDK, but neither Gradle nor Android Studio.
- Native interop without JNA:
QFunctionPointercalls C functions (including variadic ones likeprintf), andQFunctionPointer.of(...)turns a Java lambda into a native callback. - Leaner modules: fewer hard dependencies (e.g.
qtjambi-sqlno longer requires QtGui/QtWidgets), new moduleqtjambi-shadertools. - Fixes: among others a native memory leak with posted events, the lifetime of layout items, and race conditions in
QFuture/QtConcurrent. Release notes: https://github.com/OmixVisualization/qtjambi/releases/tag/v6.12.1 What's new in detail: https://github.com/OmixVisualization/qtjambi/blob/v6.12.1/www/Whats-New.md Happy to answer questions, and feedback is very welcome.