C ++ GUI初学者 - Qt还是gtkmm? [英] C++ GUI Beginner - Qt or gtkmm?

查看:104
本文介绍了C ++ GUI初学者 - Qt还是gtkmm?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

我不知道这是否真的是正确的组,但我不能

找到任何只处理C ++ GUI的组,所以我在这里。


我目前正在决定在我的程序中使用哪个GUI。它应该是

能够显示

- 图表

- 文本文件的内容

- 图像(ppm或其他)

- 单选按钮等(用户输入元素)


目前我在考虑Qt或gtkmm。虽然在C ++中这对于我来说是新的,但是我使用AWT / Swing在Java中编写了很多。


哦,此外,它是打算使用的OS X以及Linux。


哪个是最好的选择?为什么?


非常感谢

Tim

解决方案

我处于同样的两难境地。我也在寻找一个GUI,使我的

代码在Windows下可移植(这就是生命)。 QT似乎是一个更好的选择

跟随我在互联网上阅读的内容。它似乎更专业。

但是我想得到那些同时兼顾的人的意见。


干杯


我刚刚发现我的大学研究小组正在使用Qt作为

......我做出了决定;)

ChristopheLimbréeschrieb:


我处于同样的两难境地。我也在寻找一个GUI,使我的

代码在Windows下可移植(这就是生命)。 QT似乎是一个更好的选择

跟随我在互联网上阅读的内容。它看起来更专业。

但是我想得到一个有trie的人的意见。


干杯





我的公司选择Qt over gtk主要是因为易于使用和

中等设计师可用。


我也发现qmake非常有用。我们也可以使用Gdb进行调试。


一个主要限制是多线程支持Qt库。


另一个区别在于授权Qt是GPL而gtk是在LGPL。


Geaves

silversurfer2025写道:


我刚刚发现我的大学研究小组正在使用Qt作为

......我做出了决定; )


ChristopheLimbréeschrieb:


我处于同样的两难境地。我也在寻找一个GUI,使我的

代码在Windows下可移植(这就是生命)。 QT似乎是一个更好的选择

跟随我在互联网上阅读的内容。它看起来更专业。

但是我想得到一个有trie的人的意见。


干杯


Hello.
I do not know whether this really is the right group, but I could not
find any group dealing only with GUIs for C++ so here I am.

I am currently deciding which GUI to use in my program. It should be
able to show
- graphs
- contents of textfiles
- images (ppm or whatever)
- radio buttons, etc (user input elements)

Currently I am thinking of Qt or gtkmm. Although in C++ this is new to
me, I programmed a lot in Java using AWT/Swing.

Oh, furthermore, it is intended to be used in OS X as well as Linux.

Which would be the best choice and why?

Thanks a lot
Tim

解决方案

I am in the same dilemma. I am also looking for a GUI that makes my
code portable under Windows (That''s life). QT seems a better choice
following what I have read on the internet. It seems more professional.
But I would like to get the opinion of somebody who has trie both.

Cheers


I just found out that my university-research-group was using Qt as
well... my decision is made ;)
Christophe Limbrée schrieb:

I am in the same dilemma. I am also looking for a GUI that makes my
code portable under Windows (That''s life). QT seems a better choice
following what I have read on the internet. It seems more professional.
But I would like to get the opinion of somebody who has trie both.

Cheers


Hi,

My company selected Qt over gtk mainly because of ease of use and a
moderate designer was available.

I also found qmake pretty helpful.We can use Gdb too for debugging.

One major limitation was multithreading support of Qt library.

One more difference was in the licensing Qt is GPL and gtk was in LGPL.

Geaves
silversurfer2025 wrote:

I just found out that my university-research-group was using Qt as
well... my decision is made ;)
Christophe Limbrée schrieb:

I am in the same dilemma. I am also looking for a GUI that makes my
code portable under Windows (That''s life). QT seems a better choice
following what I have read on the internet. It seems more professional.
But I would like to get the opinion of somebody who has trie both.

Cheers


这篇关于C ++ GUI初学者 - Qt还是gtkmm?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆