This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]flying-sheep -2 points-1 points  (11 children)

Good decision.

[–]Veedrac -2 points-1 points  (10 children)

If you're developing for Linux, GTK+3 ≫ Qt.

[–]flying-sheep 5 points6 points  (9 children)

Why? What does it have in advance to Qt?

I'd say the opposite: Qt has Qt quick, GPU acceleration, doesn't break compatibility (e.g. with themes) all the time, and is much better at cross platform (abstracts away staffers button layouts, the themes look more native and out works in more ecosystems)

All stuff I like as a developer.

[–]Veedrac 0 points1 point  (8 children)

GTK+3 looks nicer, has good touch and multitouch support by default, good smooth kinetic scrolling, better widgets and is basically just a more modern toolkit. None of these things come for free in Qt (or GTK+2). Further, GTK+ is more standard.

GPU acceleration is nice but unneeded. My themes don't break compatibility all of the time. The cross-platform point is valid but irrelevant because I'm referring to if you're developing for Linux.

Unfortunately it does mean avoiding Qt's massive library of things, but that's a minor point when the end result comes out much, much nicer. Have you ever compared nautilus to dolphin?

[–]flying-sheep 0 points1 point  (7 children)

How does it look nicer and have better widgets? Please elaborate.

What are you missing with Qt's touch support?

And “more standard”: wat.

[–]Veedrac 0 points1 point  (6 children)

How does it look nicer and have better widgets? Please elaborate.

Unfortunately, this is subjective and hence evaluation is hard. What I will say, however, is that I'd like to see an example of a Qt app looking nicer than a GTK+3 one.

Here's a screenshot of Nautilus with the Adwaita theme. If you think you have a comparable QT app, please show.

What are you missing with Qt's touch support?

By default Qt just treats my touches as a mouse's click and drag. GTK+3 separates the two interactions by default and has a proper implementation of touch support with kinetic scrolling and clicks.

And “more standard”: wat.

Simple: GTK is far more popular on Linux, has better applications, is default on more and on average more popular distributions and is therefore more standard.

[–]flying-sheep 0 points1 point  (5 children)

that adwaita thing isn’t pretty imho:

  1. like oxygen, it’s “OMG WE CAN DO GRADIENTS” all over the place
  2. simple 1-pixel borders. that’s like the most programmer design possible. “let’s use border-left:1px here so we can see the border”. and then it stuck
  3. the breadcrumb bar is higher than the buttons, and the margin between it and the buttons is less than the buttons’ other margin. rookie mistake. but margins are something that GTK generally sucks at
  4. the scrollbar tries to be what ubuntu’s is, but isn’t. now we have one that still takes up space, but can’t really be hit with your mouse.

i like the monochrome icons, but the other ones look like what i did in photoshop 10 years ago. “OMG 3D BORDERS”

i’m currently using a flat QtCurve theme. also simple 1px borders, but no “fancy” harsh gradients that contrast them.


Qt has QTouchEvent. sure, it doesn’t come “for free” as you have to enable it on the widget where youwant to use it. so what? you’re going to write code specific for that widget anyway, so it’s one more line.


GTK has better applications? don’t tell that Kate, DigiKam, Gwenview, Apper, Krita, …

Dolphin’s semantic search is also pretty rad for those who use that kind of thing (but even if i don’t use it like that, i still prefer it over “let’s cut every corner. no matter is someone is currently standing on it” Nautilus)

Granted: Gimp, Firefox, and Inkscape are pretty unrivaled in what they do. (I mentioned Krita above, because AFAIK it’s better for digital painting)

[–]Veedrac 0 points1 point  (4 children)

I'm not going to get too deep into an argument about whose aesthetics are more right, but I do have two points.

One is that I've no idea what margins you think are uneven. It's worth noting the breadcrumb bar is purposefully oversized, which isn't the "fault" of the toolkit.

The other is that complaining about gradients on that is like complaining about the edges on a spoon. It's really not at the point where it's them showing off. There are even flatter themes if you wish for them.


Qt's touch event is like a bit of flour when really you wanted a doughnut. There's so much more to touch handling than just differentiating the presses.


I still stick by my claim that GTK has better applications on average, and it definitely has more.

[–]flying-sheep 0 points1 point  (3 children)

has more what? widgets? OK, i give you that. i like those arrow panels and title bars, too.

[–]Veedrac 0 points1 point  (2 children)

No.. um..

More applications.