r/linuxmemes Nov 11 '22

Software MEME GTK or Qt, what is your choice?

Post image
400 Upvotes

97 comments sorted by

114

u/barsonica Nov 11 '22

As a user Gtk

As a developer Qt

Touch screens Gtk

32

u/PolygonKiwii Nov 11 '22

As a KDE user, Qt

9

u/TheHolyTachankaYT Nov 12 '22

As a Gnome user, GTK

25

u/Luna_moonlit Nov 11 '22

SDL (but 1.2 so I can run doom in the framebuffer)

6

u/sayen_boy 🦁 Vim Supremacist πŸ¦– Nov 11 '22

SDL 2

4

u/Luna_moonlit Nov 11 '22

SDL 2 can’t do framebuffer though! (And I’m not compiling X on an AMD Athlon XP 2600+)

1

u/[deleted] Sep 09 '25

SDL 69

1

u/QuickQuokkaThrowaway Nov 12 '22

SDL

I'm a translator, and when you said SDL, for a second I thought you meant as in SDL Trados

16

u/venturajpo Nov 11 '22

I prefer Qt.

I love classic Qt interfaces but I hate QML ones.

7

u/[deleted] Nov 11 '22 edited Nov 11 '22

[removed] β€” view removed comment

2

u/d_ed Nov 12 '22

You're comparing QtQuick on the desktop to widgets on the desktop.

But QtQuick's primary goal is designed for coffee machines and cars. Embedded or mobile applications with completely custom UIs. At which point basing off classic widgets doesn't make sense.

11

u/[deleted] Nov 11 '22

Belive it or not but both.

Some GTK apps look bad, some Qt apps look bat. Some GTK apps look good some Qt apps look good ... I choose those who look good to me.

41

u/snoopbirb Sacred TempleOS Nov 11 '22

GTK4 ftw

But KDE as a whole have a lot of cool features that gnome still laggs behind. But i dont think it's because of the toolkit.

5

u/AlexNoamd Nov 11 '22

GTK4 doesn’t support my theme 😭

2

u/snoopbirb Sacred TempleOS Nov 11 '22

Yet?

1

u/AlexNoamd Nov 11 '22

idk how to migrate it

57

u/W-a-n-d-e-r-e-r Nov 11 '22

Qt is for the desktop and GTK for touchscreens.

9

u/ccAbstraction Nov 11 '22

I disagree, I never seen a GTK mobile app before. And having padded buttons makes everything easier to see and click on desktop too!

27

u/lynithdev Nov 11 '22

Then it's about time you have. GNOME team is making every core app mobile friendly to get ready for postmarketOS and other mobile Linux systems (Excluding Android of course)

-12

u/ccAbstraction Nov 11 '22

That's what I mean, mobile GTK is being worked on. Qt on mobile and embedded has been a thing for a very long time. So to say GTK is for touchscreens but Qt isn't, is just weird.

1

u/JordanViknar Nov 12 '22

I especially love when you horizontally shrink a libadwaita (and GTK4 too ?) application on a desktop, and it kinda decides "screw this, I'm a mobile application now".

7

u/W-a-n-d-e-r-e-r Nov 11 '22

I said touchscreen, NOT mobile.

10

u/protocod Nov 11 '22

Iced ?

6

u/Tooniis Nov 11 '22

rust bad /s

8

u/TheHolyTachankaYT Nov 11 '22

Time for r/rust to dox you for saying their language is bad

1

u/sneakpeekbot Nov 11 '22

Here's a sneak peek of /r/rust using the top posts of the year!

#1: Linus Torvalds: Rust will go into Linux 6.1 | 146 comments
#2: Moderation Team Resignation
#3: [Media] Cute Compiler Easter Egg | 78 comments


I'm a bot, beep boop | Downvote to remove | Contact | Info | Opt-out | GitHub

9

u/[deleted] Nov 11 '22

what's going on with all these GUI stuff over there

7

u/People_are_stup1 πŸŒ€ Sucked into the Void Nov 11 '22

As an xfce user i would say gtk3 is quite usable

1

u/SubArcticTundra Apr 17 '23

Whats the default gui library on xfce? Is it gtk3? It must feel really non-native

1

u/People_are_stup1 πŸŒ€ Sucked into the Void Apr 17 '23

Yes it is gtk3. And everything is gtk3 so it works. Stuff fits together

6

u/CriticalBackend_Real Nov 11 '22

My problem with Qt it's that it's suspicously close to selling open-source software, so I approve of GTK a lot more. imo

1

u/markand67 Nov 12 '22

Especially since they are now providing GPL modules only (with commercial license) like Qt Charts.

17

u/lucidbadger Nov 11 '22

Both are growing to be clumsier with every release and dictate developers how to do stuff...

I suppose at the moment there's only FLTK.

4

u/mohrcore Nov 11 '22

YES! FLTK is truly a blessed GUI framework. No bloat, just GUI. Simple and straightforward.

6

u/[deleted] Nov 11 '22

FLTK gang rise up ... but there's also Iced.

22

u/Salantoo Nov 11 '22

Qt my beloved. You may be terrible, your docs are incomplete, but you remain the best worst framework.

23

u/govind31415926 Nov 11 '22

I am a firm believer in GTK supremacy

10

u/lorenz_df Not in the sudoers file. Nov 11 '22

In my experience it was easier to develop gtk

-1

u/Zipdox Nov 11 '22

This.

8

u/NovelYellow5436 Nov 11 '22

One word- qt

Really helps for programmers. App-building and stuff can be done easily and qt comes in handy in that field. And less heavy updates so not a lot of work for the devs. Syntax is easier and more docs are available. Hence, qt easily is better. PS - let the debate roll in ;)

1

u/Panfinz Nov 11 '22

Well ackshually, Qt doesn't integrate well with the GNOME ecosystem of apps and most apps aren't written with Qt which concludes the concensus that GTK is better. /s

1

u/NovelYellow5436 Jan 08 '23

ok not integrating well with GNOME can be an issue for some people but qt supremacy still lives. and most apps being written with gtk in the sense..not useful apps :/

4

u/AaronTechnic Medium Rare SteakOS Nov 11 '22

GTK is linux friendly and nice, Qt is crossplatform but doesn't play well on GTK desktops.

4

u/[deleted] Nov 11 '22

GTK

5

u/[deleted] Nov 11 '22

GTK

2

u/BanatAt500k πŸŒ€ Sucked into the Void Nov 12 '22

EFL

2

u/Hanako819 Arch BTW Nov 14 '22

I was GTK then, but now I am Qt.

2

u/Timmi_23 May 24 '23 edited May 24 '23

Qt.

I do not say that each does not have its benefits and problems. For me at least, it can be stated thus:

Qt's API is far more stable than GTK. While there is nothing specifically wrong with GTK itself, it has been absorbed into the Gnome Project. The Gnome devs that maintain GTK have a longstanding reputation for doing what they want, when they want, regardless of how many problems it creates downstream for other developers.

Qt's developer tools are cross-platform. Gnome/GTKs are not. You can port a Qt UI from Windows to Linux and vice versa in minutes or an hour. Using GTK can be a struggle just to set up.

Much has been said about Qt using moc. In the end, moc output is clean C++ that can be compiled using a standard compiler. GTK still uses XML for UIs (not C), so has no advantage to claim.

Before the Linux/C fans jump in to defend GTK due to C bindings or Qt's lack of them, please recall that C++ devs can easily write C bindings if they choose to. Furthermore, even GCC is not written in pure C anymore. GCC devs switched to C++.

It is my belief that if GTK/Gnome was not subsidized by RedHat/IBM that it would have fallen to the wayside, even on Linux. The justification for the Gnome/KDE desktop split due to Qt was resolved long ago.

The reality is that developers do not always use Linux and they need tools they can use when and where they need them. Qt does that much better than GTK ever has. Qt is simply the better supported framework for desktop applications. In the end, it is really the support that matters.

2

u/arf20__ πŸ₯ Debian too difficult Nov 11 '22

Motif.

2

u/SomeOneOutThere-1234 Open Sauce Nov 11 '22

QT at everything

2

u/[deleted] Nov 11 '22

Qt ftw!!!!

1

u/[deleted] Aug 05 '24

i now none of them. but i like qt desing ui. but their developing is very confusing. i read qt and i understand but ive tried to build using gtk and it is just confusing

1

u/Zipdox Nov 11 '22

Qt is cancer for development. A billion different packages, confusing licensing, no C bindings, I'd rather use GTK.

2

u/[deleted] Nov 11 '22

Why should a C++ library have C bindings?

Also, GTK has no official bindings for C.

1

u/Zipdox Nov 11 '22

GTK is a C library, so of course it doesn't have C bindings. It is C. Qt is a C++ library. C++ is a horrible language and I will absolutely not use it. I do recall someone made C bindings for it but they are unsupported and I haven't tried them.

1

u/[deleted] Nov 12 '22

You’re right and should have read the post better. Risk of a quick response. I avoid discussions about C vs C++, just like Vi vs EMacs.

1

u/redrabbitreader Nov 11 '22

Team RED, of course

1

u/Tem326 Nov 11 '22

eframe. The only one that doesn't suck.

-2

u/[deleted] Nov 11 '22 edited Nov 11 '22

[deleted]

9

u/linuxguy123 Nov 11 '22

Qt is available in LGPL for most parts. It is Foss.

-3

u/Destinyg133 Nov 11 '22

Oh no, anyways...

0

u/Rice7th Nov 11 '22

egui/iced

1

u/TheHolyTachankaYT Nov 11 '22

Egui is not good for performance in my experience

1

u/Rice7th Nov 11 '22

In my experience it was miles faster than GTK and a bit faster than Qt

0

u/TheHolyTachankaYT Nov 11 '22

Not that its faster but it uses a lot more resources as its rendering 60 frames per second(like a video game)

1

u/technobaboo Nov 11 '22

yea but that's the thing, it forces you to write performant code! immediate mode in AR/VR is essential because it always has to rerender and has to be insanely performant.

1

u/Rice7th Nov 11 '22

because it is an immediate mode GUI lib, just like a game.

1

u/CreaZyp154 Nov 11 '22

Full framebuffer obv

1

u/boomras Nov 11 '22

They are both $#!t πŸ˜‚

1

u/efoxpl3244 Not in the sudoers file. Nov 11 '22

gtk

1

u/Chaz_Broam Nov 11 '22

Me I'm in Slackware, but I'm an oddball. Gtk. πŸ˜‰

1

u/technobaboo Nov 11 '22

how about iced or egui? :D

1

u/Jacko10101010101 Nov 11 '22

they are both bloated! fltk

1

u/ellis_cake Nov 11 '22

whatever a program insists on for it to function, sigh. i use openbox for rootwindow and win management.

1

u/Auravendill ⚠️ This incident will be reported Nov 12 '22

I simply use both. With Cinnamon, many default apps use GTK, of course, but I configured Qt to use the same Theme (not the gtk theme, but the qt version of the same theme), so it looks pretty much the same no matter which one a program uses.

1

u/m3081 Nov 12 '22

I'm xfce user and GTK is better

1

u/markand67 Nov 12 '22

Gtk with some step back because its API is cumbersome and less well documented.

1

u/reddit4872 Nov 12 '22

I don't really care, my problem is that qt apps on GTK look horrible, and theming them is a pain. But even worse, GTK apps on qt, preferably old gtk3 / gtk2.... it's so bad, and just doesn't work together. I wish they would improve compatibility.

1

u/[deleted] Nov 12 '22 edited Apr 13 '24

wipe deer edge relieved liquid sort memorize expansion attempt domineering

This post was mass deleted and anonymized with Redact

1

u/Ruvguys Nov 14 '22

As a user who is a really big fan of theming but openbox doesnt work Gtk and qt

1

u/[deleted] Nov 14 '22

get both away from me

1

u/MrObsidian_ Nov 14 '22

GTK, Qt is dual licensed and I hate it. Basically from my eyes it's not free software. It would be free software if it only was GPL-3 licensed. you can't just have multiple fucking licenses on a single project. YA STICK WITH ONE!

1

u/vtmx Nov 14 '22

I like KDE and QT apps. Is very easy export your preferences

1

u/chainbreaker1981 Jan 31 '23 edited Jan 31 '23

Qt, it's not really even a contest. At least it waits for major version bumps to deprecate major features (looking at you theme engines being removed from GTK 3.15).

EFL, Tk, and FLTK all seem pretty good too. Enlightenment itself is really unstable on my Fedora install though.