Linux 中该走哪条路(Qt Creator 或 KDevelop)

发布于 2024-07-11 15:01:47 字数 1431 浏览 10 评论 0原文

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

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

发布评论

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

评论(5

虚拟世界 2024-07-18 15:01:48

我认为你的意思是 KDE 和 KDevelop,这取决于你的应用程序的范围,如果它是独立于桌面的,我会选择 Qt,如果你想制作一个使用所有 KDE 功能的应用程序,我会选择 KDE。

对于 Windows 和嵌入式开发,请使用 Qt。

I think that you mean KDE with KDevelop, it depends on the scope of your application if it will be desktop independent I will go to Qt, if you want to make an application that uses all KDE power I will go KDE.

For Windows and embedded developing go to Qt.

噩梦成真你也成魔 2024-07-18 15:01:48

就我个人而言,我觉得为了在QT中开发kde应用程序更好地使用KATE。 它通过提供一个终端来提供足够的便利,您可以在其中编译调试并运行您的应用程序。

Personally what i feel that in order to develop kde applications in QT better use KATE. It gives enough facility by giving a terminal where u can compile debug and run ur application.

风筝在阴天搁浅。 2024-07-18 15:01:47

开篇文章可能指的是 Qt Creator,它绝对是一个完整的 IDE。

Qt Creator 有两种版本:一种是简单的开源版本,仅获得创建开源软件的许可;另一种是付费版本,获得创建 OSS 和闭源项目的许可。 Qt Creator 与 Qt 本身一样在平台之间可移植,并且在 MS Windows 下使用 MingW 编译器,在 Linux 下使用 GCC 编译器。

一般来说,我发现开源 Qt 是一款精致的软件,它比 KDevelop 提供了更流畅、更愉快的用户体验(KDevelop 拼命地试图实现大量的花哨功能,以至于忽略了让简单的事情变得简单和可靠),而且它的功能很少,界面比 Kdevelop 简单得多(也许付费版本也有更复杂的界面)。

仅使用 Qt 框架,您只需重新编译即可轻松制作在 Linux 和 MS Windows 下运行的应用程序,并且这些应用程序在两个平台上看起来相同。 另一方面,KDE 仅适用于 Linux。

我特别喜欢的是,从命令行应用程序(最初在 MSVC 下开发)导入大约 35 个文件,让 qmake 设置 makefile,然后编译它,就像一个魅力,而不是 KDevelop,这是一个很大的麻烦。 使用 Qt Creator 设置命令行应用程序也很容易。 现在命令行版本已编译,我可以轻松制作 Qt GUI 来准备选项参数、设置参数、选择并单击所有输入文件并设置输出目录。 我唯一需要改变的就是将我以前的“main”函数更改为其他函数,让 Qt 为我生成一个主应用程序,然后调用它以响应按钮按下。 大约一年前,我在 KDE 和 Kdevelop 上的尝试经历了一段痛苦的时光,以至于我完全放弃并回到了 MSVC。

除非您真的只想为 KDE 进行开发,并且决心使用超越 Qt 的 KDE 功能,否则我会选择 Qt Creator。

The opening post probably meant Qt Creator, which definitely is a complete IDE.

Qt creator comes in two flavours: a simple one which is Open Source and is licensed only to create Open Source software, and a paying one which is licensed to create both OSS and closed-source projects. Qt Creator is just as portable between platforms as Qt itself and uses the MingW compiler under MS Windows and the GCC compiler under Linux.

Generally speaking I found Open Source Qt a polished piece of software which gives a much smoother and more pleasant user experience than KDevelop (which tries so desperately to implement slews and slews of bells and whistles that it neglects to make simple things easy and reliable), and it has few features and a much simpler interface than Kdevelop (perhaps the paying version also has a more complicated interface).

Using the Qt framework exclusively allows you to easily make applications that run under Linux and MS Windows with no more than a recompile, and which look the same on both platforms. KDE on the other hand is Linux-only.

What I especially liked is that importing about 35 files from a commandline app (originally developed under MSVC), having qmake set up the makefile and then compiling it worked like a charm, as opposed to KDevelop where it's a big hassle. It's easy to have Qt Creator set up a commandline app too. Now that the commandline version compiles I can easily make a Qt GUI to prepare the options arguments, set the parameters, pick and click all the input files, and set the output directory. The only thing I have to change is to change my previous "main" function into something else, let Qt generate a main app for me, and then and call it in response to a buttonpress. I had such a hell of a time trying that with KDE and Kdevelop a year or so ago that I completely gave up and went back to MSVC.

Unless you really really want to develop for KDE only and are determined to use KDE functionality that goes above and beyond Qt, I would choose Qt Creator.

相对绾红妆 2024-07-18 15:01:47

你似乎很困惑。 Qt 是一个 C++ 工具包。 KDevelop 是一个 IDE。

从你的评论我知道你指的是Qt Designer。 Designer 不是 IDE; 它只是一个用于以图形方式创建用户界面的应用程序。 它无法编译代码、调试或执行 IDE 所做的任何其他操作。

KDevelop IDE 实际上将 Designer 嵌入到其自身中,因此这显然不是“一个或另一个”类型的情况。

当然,第三种可能性是您正在谈论 Qt Creator,这是最近发布的 IDE Qt 软件的测试版。 如果是这样的话,那么我只是鼓励您尝试一下,看看您更喜欢哪一个。 他们采取不同的方法,更好的选择几乎完全基于个人喜好。

You seemed to be confused. Qt is a C++ toolkit. KDevelop is an IDE.

From your comment I see that you meant Qt Designer. Designer is not an IDE; it is just an application for graphically creating user interfaces. It can't compile code, debug, or do any of the other things an IDE does.

The KDevelop IDE actually embeds Designer into itself, so this clearly isn't a "one or the other" type situation.

Of course a third possibility is that you were talking about Qt Creator, the IDE that was recently released as beta by Qt Software. If that's the case, then I would just encourage you to try them both out and see which you prefer. They take different approaches and the better option would be based almost entirely on personal preference.

哆啦不做梦 2024-07-18 15:01:47

如果你真的想使用 KATE,你也可以使用 KDevelop。 KDevelop 嵌入了 KATE 和 Konsole,并具有一些使其成为真正的 IDE 的附加功能。

If you really want to use KATE, you can just use KDevelop as well. KDevelop embeds both KATE and Konsole, with some added ability to make it a real IDE.

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