我应该在 Java 中使用 Qt Jambi 吗?

发布于 2024-07-07 07:20:33 字数 103 浏览 8 评论 0原文

对我来说,在 Java 中使用 Qt Jambi 作为工具包是个好主意吗?

我看到Qt Jambi很难学,Swing比Qt Jambi容易,但我认为Qt Jambi更强大。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

大姐,你呐 2024-07-14 07:20:33

两年前,我启动了一个 Java 桌面应用程序并使用 Swing 作为 GUI 框架。 到目前为止,我已经有了 C++/MFC(不寒而栗)和 C++/Qt(非常好)的经验。

在尝试与 Swing 相处一段时间(包括阅读大量教程甚至一本书)后,我得出以下结论:

Swing 比 Qt 困难得多且笨拙得多,原因有以下三个:

  1. 很多简单的事情需要比应有的更多的代码。
  2. Qt 免费提供的一些东西几乎不可能在合理的时间内实现。
  3. Swing 没有带来所见即所得的 GUI 编辑器,而且我找不到一个与 Qt 设计器接近的免费编辑器。

然后我扔掉了 Swing GUI,转而使用 Qt Jambi,它给我留下了深刻的印象。 一个周末后,我有了一个漂亮的 Qt GUI,从此过上了幸福的生活。

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.

紫竹語嫣☆ 2024-07-14 07:20:33

如果你认为熟悉Qt将来会有用,当你可能想用C++开发(或者改变一些基于Qt的软件)时,我认为那会很好。

If you think being familiar with Qt would be useful in the future, when you might want to develop in C++ (or change some Qt-based software), I think it would be nice.

不疑不惑不回忆 2024-07-14 07:20:33

Qt Jambi 比 Swing 和 SWT 更简单、更容易使用。

我认为 Qt Jambi 的唯一默认设置是没有太多相关文档,并且回答有关 Qt Jambi 问题的论坛很少(这是我发现的唯一一个:D)

希望这会有所帮助。

Qt Jambi is much simple and easier to use than Swing and SWT.

I think that the only default of Qt Jambi is that there is not that much documentation about that and forums answering questions about Qt Jambi are rare (this is the only one i found :D)

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文