Live data from Hacker News

Ask HN: Time to give up on Qt?

news.ycombinator.com

1–10 of 72 posts

Ask HN: Time to give up on Qt?

#1
I'm about to start on a cross-platform desktop app, and I'm trying to choose a GUI toolkit. I was originally planning to use Qt, because it looks great right out of the box, and the API is nice and simple.

With Nokia kicking Qt to the curb, should we all be moving to wxWidgets? Something else? GTK+ still doesn't look very native on Windows or OS X, so for many cross-platform apps it's not a viable option.

Re: Ask HN: Time to give up on Qt?

#3
Qt -- particularly the desktop version -- is still being supported and maintained by Digia (and the Qt community).

Digia have been fairly aggressive in insisting that Qt isn't going anywhere and touting the features of upcoming Qt 5.

There really is no better cross-platform GUI library at this time. To jump ship from Qt now, I think, is a fool's move that will create hassle later on down the line.

Re: Ask HN: Time to give up on Qt?

#5
I don't think Qt is going anywhere. Of course, I'm biased--I use KDE, which is wonderful and uses Qt as the native toolkit. But that is an important point--Qt is used in a bunch of open source projects, and KDE itself is pretty big. I don't see Qt at much of a disadvantage to GTk even if it loses all corporate support.

Personally, I was not very impressed last time I tried to use wxWidgets. Unfortunately, this seems to be the best option for Haskell, and I really want to use an FRP style for my next project. Also, I suspect most of my problems were to do with my not knowing wxWidgets and using the Haskell bindings. (Particularly, I wanted a rich web view sort of widget, but that doesn't come in the standard distribution--the standard one just doesn't cut it.)

So: for most cases, I would advocate Qt over wxWidgets or GTk.

Re: Ask HN: Time to give up on Qt?

#6
post #4

Go nativeclient+html5. Best of both worlds. You could still distribute it as a standalone app like https://github.com/adobe/brackets/

stuff that runs in chrome ? that's not really a desktop app.

Well, Chromium is FOSS so you can distribute it with your application if that need arises.

Re: Ask HN: Time to give up on Qt?

#8
It a big bowl of "it depends", IMO. Qt is going to keep getting some level of support through companies like Digia[1] and KDE[2]. Especially because of KDE, an entirely open community might spring up around it.

However, I wouldn't bet my own company on it right now. In a year, we'll know where the chips are going to fall. The real problem, of course, is there isn't anything else quite up to Qt's standard.

If this is a for-fun project, patrickaljord's suggestion to use NaCl and html5 isn't a bad idea. I wouldn't do that right now if I wasn't doing it just for fun, though. You are going to get cut up by the bleeding edge there, which is fine if you are trying to push the edge, but sucks when you are just trying to get stuff done.

1. http://www.digia.com/en/Qt/ 2. http://www.kde.org/community/whatiskde/kdefreeqtfoundation.p...

Re: Ask HN: Time to give up on Qt?

#9
Qt may not be a cornerstone of Nokia's mobile strategy anymore, but it's still being actively developed and has wide industry support. Major companies like Autodesk rely on Qt. They're not going to rewrite everything in GTK+ just because of Nokia...

Look for the GUI framework that best suits your purposes now, rather than the one you think is the best long-term strategic investment. If the toolkit sucks, your app is not going to be finished anyway and it won't matter what happens to the framework five years down the road.

Re: Ask HN: Time to give up on Qt?

#10
No way. Qt has a huge following of users and community around it, and it also happens to be an open-source project.

If you're worried about commercial support, that's provided by Digia now, and anyhow Qt is used by so many paying customers that other shops will spring up providing commercial support, if the market demands it.

Post reply on HN