QtJambi is a Java binding of the cross-platform application framework Qt. It enables Java developers to use Qt within the Java programming language. In addition, the QtJambi generator can be used to create Java bindings for other Qt libraries and future versions of Qt. Unlike GTK, there are no Swing LAF implementations that use Qt for rendering.
Stable release | 6.7.2
/ 25 June 2024 |
---|---|
Repository | |
Written in | Java |
Operating system | Cross-platform |
License | LGPL |
Website | github |
QtJambi supports Linux and other flavours of Unix such as macOS, as well as Microsoft Windows.
QtJambi was originally developed by TrollTech (currently known as "The Qt Company") until March 2009, but development didn't continue after being bought by Nokia, as official support for QtJambi by Nokia ended in March 2010.[1] The project was spun off into an open source project, which was later adopted by Omix Visualization.
QtJambi hello world
editpackage org.wikipedia.qt;
import io.qt.widgets.*;
public class Test {
public static void main(String[] args) {
QApplication.initialize(args);
QMessageBox.information(null, "QtJambi", "Hello World!");
QApplication.shutdown();
}
}
References
edit- ^ "Qt Software to discontinue Qt Jambi after 4.5 release". 19 February 2009. Archived from the original on 2012-02-29.
- Hanson, Jeff (Aug 9, 2007). "Java desktop development with Qt Jambi: A sophisticated alternative to GUI development with Swing and Java 2D". InfoWorld. Retrieved 2023-07-15.
- Blanchette, Jasmin; Summerfield, Mark (2008). "Introduction to Qt Jambi". C++ GUI Programming with Qt4, 2nd Edition. Pearson. ISBN 978-0-13-235416-5.