Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I use Qt Jambi in Java?

Is it a good idea for me to use Qt Jambi in Java as a toolkit?

I see that Qt Jambi is hard to learn, and Swing is easier than Qt Jambi, but I think that Qt Jambi is more powerful.

like image 242
Waseem Avatar asked Sep 26 '08 13:09

Waseem


People also ask

What is Qt5?

What is Qt5? It is a full development framework with tools designed to streamline the creation of applications and user interfaces for desktop, embedded, and mobile platforms. Qt5 is a tool in the Cross-Platform Desktop Development category of a tech stack.

Can we use Qt with Java?

Qt Jambi is a Java binding of the cross-platform application framework Qt. It enables Java developers to use Qt within Java programming language. In addition, Qt Jambi generator can be used to create Java bindings for other Qt libraries and future versions of Qt.


1 Answers

Two years ago, I started a Java Desktop Application and used Swing as a GUI framweork. Up to that point, I had experience with C++/MFC (shudder) and C++/Qt (very nice).

After trying to get along with Swing for a while (including reading lots of tutorials and even a book) I came to the following conclusion:

Swing is much more difficult and clumsy than Qt for three reasons:

  1. A lot of simple stuff requires more code than it should.
  2. Some things that Qt brings for free are almost impossible to achieve in a reasonable amount of time.
  3. Swing doesn't bring a WYSIWYG GUI Editor and I could not find a free one that comes close to Qt's Designer.

I then threw away the Swing GUI, switched to Qt Jambi and was really impressed by it. One weekend later I had a nice Qt GUI and lived happily ever after.

like image 179
Tom Avatar answered Sep 28 '22 03:09

Tom