Bug 3198 - Porting Claws Mail to Qt?
Summary: Porting Claws Mail to Qt?
Status: RESOLVED LATER
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: other
Hardware: All All
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2014-05-30 23:01 UTC by nw9165-3201
Modified: 2014-05-31 19:15 UTC (History)
0 users

See Also:


Attachments

Description nw9165-3201 2014-05-30 23:01:56 UTC
Dear Claws Mail developers,

considering that porting Claws Mail to GTK+ 3 does not seem to be something you're too fond of (?) according to the comments in the following feature request:

http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2371

(at least that's what it sounds like?) and considering that quite a few other developers are thinking of or are already porting their applications to Qt, instead of GTK+ 3, see for example:

http://blog.lxde.org/?p=1117
http://blog.lxde.org/?p=1000
http://wiki.lxde.org/en/Migrate_from_GTK%2B_to_Qt
https://blog.wireshark.org/2013/10/switching-to-qt/
http://redmine.audacious-media-player.org/boards/1/topics/1100
http://redmine.audacious-media-player.org/boards/1/topics/1135

I am wondering if porting Claws Mail to Qt might be a better decision than porting it to GTK+ 3?

Regards
Comment 1 Colin Leroy 2014-05-31 09:31:00 UTC
Andrej has started a QT version of Claws Mail, indeed.

This is a huge work though.
Comment 2 nw9165-3201 2014-05-31 12:31:47 UTC
Hello,

(In reply to comment #1)
> Andrej has started a QT version of Claws Mail, indeed.

Cool!

Could you please provide a link to that version?

I don't see it being mentioned over there:

http://www.claws-mail.org/git.php?section=projects

Regards
Comment 3 Andrej Kacian 2014-05-31 17:07:07 UTC
The code is at <http://git.claws-mail.org/?p=claws-qt.git>, but it is in a very early phase (and will be for a long time, unless miracles happen). Help is of course welcome! :)
Comment 4 Holger Berndt 2014-05-31 17:12:59 UTC
What exactly is the goal of this port? I see this enhancement request, but no reasoning of why it would be an enhancement in the first place.
Comment 5 Michael Rasmussen 2014-05-31 17:55:44 UTC
I second Holger. A lot of work which by the current reasoning seems rather pointless. Why would Qt be better than GTK? Also using Qt requires C++ knowledge which is more than C with objects. And what about the build system? Should that be ported to QMake?
Comment 6 Salvatore De Paolis 2014-05-31 18:29:23 UTC
Agreed with Holger and Michael,
I don't understand the reason of this port actually. Also because it probably would need a rewrite from scratch of Claws Mail, not just GTK. As far as I know of, there's no C bindings for QT.
When I saw the message time ago on IRC I thought it was an weird joke :)

2 cents
Comment 7 Colin Leroy 2014-05-31 18:47:53 UTC
In the very long term, GTK2 is probably dead, and in the short term, it's Andrej decision to spend his time however he wants, isn't it? :)
Comment 8 Michael Rasmussen 2014-05-31 18:57:21 UTC
(In reply to comment #7)
> In the very long term, GTK2 is probably dead, and in the short term, it's
> Andrej decision to spend his time however he wants, isn't it? :)

Well RHEL 7 ships with GTK2 which means support for GTK2 until 2024, and with extended life phase you can add another 3 years of support which will bring support for GTK2 until 2027. In 2027 there might even not be an actual maintained version of Claws;-)

I agree that Andrej can do what ever he likes with his time but personally I think the time could be spend more valuable:-)
Comment 9 Andrej Kacian 2014-05-31 19:15:40 UTC
Let me explain. I have liked Qt for a long while now, and this "project" is more or less just my playground where I get to learn Qt programming better, as well as brush up on my C++ skills (poor as they may be sometimes). So far, I am rather enjoying the ride, even though ultimately nothing usable may come out of it.

Also, I have saw mentioned a few times that some team members wouldn't be against switching to Qt, in some unspecified future. This may or may not eventually provide a base for that.

Anyone is of course free to help or to completely ignore existence of this repository. Consider it unofficial. It is not listed on git.claws-mail.org main page for this reason, but it is not a secret either. I can even take it elsewhere, if someone considers it a bad idea to have the repo hosted there.

Lastly, I'd like to ask you to move further discussion to one of the mailing lists. Bugzilla is not an ideal venue for this. :)

Note You need to log in before you can comment on or make changes to this bug.