Gtk vs Qt | GUI tool kits | Which is Better?

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 113

  • @futuza
    @futuza 3 ปีที่แล้ว +60

    Qt has one of my favorite programming documentations, its well written, clear and with lots of examples. That said I hate where the liscensing has been going with it lately in the hands of its current owner and its becoming less 'open' over time. GTK by comparison is a lot more open, but also more obtuse and difficult to pick up and less easy to start working.

    • @torinlandyn1228
      @torinlandyn1228 3 ปีที่แล้ว

      @Camilo Ariel yup, have been watching on Flixzone} for since november myself :)

    • @byronbenicio7853
      @byronbenicio7853 3 ปีที่แล้ว

      @Camilo Ariel definitely, I've been watching on Flixzone} for years myself :)

    • @camdenmayson3758
      @camdenmayson3758 3 ปีที่แล้ว

      @Camilo Ariel Definitely, have been watching on flixzone} for since november myself :D

    • @DungVu-di7dz
      @DungVu-di7dz 10 หลายเดือนก่อน +3

      Qt is not free, the terms in LGPL contradict each other and if you sell software written in Qt you can be sued at any time without a commercial license

    • @futuza
      @futuza 10 หลายเดือนก่อน +6

      @@DungVu-di7dz ? Name a court case where this occurred?

  • @BobbyCharlz
    @BobbyCharlz หลายเดือนก่อน

    Your videos are excellent and very much appreciated. Thank you for the inspiration!

  • @josephvelasquez2677
    @josephvelasquez2677 10 หลายเดือนก่อน

    Thanks for the thorough explanation, exactly what I needed!

    • @OpenSourceTonight
      @OpenSourceTonight  10 หลายเดือนก่อน +1

      I'm happy that it was helpful to you. My aim is to be helpful but I don't always do it perfectly.

  • @DevDungeon
    @DevDungeon 3 ปีที่แล้ว +4

    Good stuff, keep it up

    • @OpenSourceTonight
      @OpenSourceTonight  3 ปีที่แล้ว +3

      Thanks for your support. Glad to you hear you like the videos. I sure will keep making videos. - Vincent

  • @imhemish
    @imhemish 3 ปีที่แล้ว +1

    you got a new subsriber, i just subscribed you after you had 208 subscribers

    • @OpenSourceTonight
      @OpenSourceTonight  3 ปีที่แล้ว

      Welcome to the channel! Glad to hear you enjoy the videos enough to subscribe. - Vincent

  • @abhyudayamehra
    @abhyudayamehra 2 หลายเดือนก่อน

    Really helped me choose. Thanks for this!

  • @Thraeke
    @Thraeke 3 ปีที่แล้ว +2

    u helped me a lot, i´m very new to all of this . ty bra ;)

  • @jarjar621
    @jarjar621 6 หลายเดือนก่อน +4

    mah man living under stone cave and still alive today in his wooden cave.
    mad lad.

    • @johnpulawski35
      @johnpulawski35 5 หลายเดือนก่อน

      i was gonna say lmfao guy came from antiquity

    • @soundgardengalaxy
      @soundgardengalaxy 4 หลายเดือนก่อน

      those were also my first thoughts🤣 he is a bushcraft pro and quickly built himself a hut with solar for the video🤣 please show us your House ! I subscribe only for the cool cave here 😅

    • @OpenSourceTonight
      @OpenSourceTonight  4 หลายเดือนก่อน +1

      That's my folks basement in that video. I used to use it for my "studio". I'm not the best at building things like that but my Dad was. - Vincent

    • @soundgardengalaxy
      @soundgardengalaxy 4 หลายเดือนก่อน

      ​@@OpenSourceTonight haha ok

    • @johnpulawski35
      @johnpulawski35 4 หลายเดือนก่อน

      @@OpenSourceTonight pretty cool 👍

  • @astroboy512
    @astroboy512 2 ปีที่แล้ว +3

    I love it! The video is exactly to the point, I also like GTK more than Qt.

  • @dart-kotlin-dev
    @dart-kotlin-dev ปีที่แล้ว

    Thanks, that was a very unbiased review in my opinion. It was really helpful for me.

  • @mohammadrezamokhtary913
    @mohammadrezamokhtary913 3 ปีที่แล้ว +24

    when he says QT instead of Qt ...

    • @ChristianConrad
      @ChristianConrad 6 หลายเดือนก่อน +1

      Eh, what? How do those differ in pronounciation?

    • @zytr0x108
      @zytr0x108 5 หลายเดือนก่อน +3

      @@ChristianConradQT -> Kiu Ti
      Qt -> Kiu t -> Kiut -> „cute“

    • @chesshooligan1282
      @chesshooligan1282 6 วันที่ผ่านมา

      If the creators wanted that thing to be pronounced "cute," they should have called it "Cute."

  • @oraz.
    @oraz. ปีที่แล้ว +3

    GTK seems to look better but people seem enthusiastic about QT. There's so FLTK, I'm leaning toward GTK though.

  • @VentureTracks
    @VentureTracks 3 ปีที่แล้ว

    Oh wow you should have more of a following man good shit!

  • @ziul.3124
    @ziul.3124 2 ปีที่แล้ว

    Nice video,Nice hair😅IT truly helped me 😈👍

  • @Amine-gz7gq
    @Amine-gz7gq 4 หลายเดือนก่อน +1

    Thread safe signals-slots are why I like using Qt it allows CSP style concurrency which is a sane/less harmful threading pattern. I stopped using C# because delegates are not thread safe.

    • @OpenSourceTonight
      @OpenSourceTonight  3 หลายเดือนก่อน

      Thank you for sharing your feedback. - Vincent

  • @तंत्र
    @तंत्र 3 ปีที่แล้ว +2

    Thank you.... This helped

  • @n1coc4cola
    @n1coc4cola 3 ปีที่แล้ว +2

    I think Gtk is not flex enough for the plugins and such. For example, if you want to implement a blur behind window as available on many DEs, it is really hard on Gtk with wins that are not registered, comes from nowhere and the window's type is not obvious enough, some menus will get transparency available while others not, but they could all be. And you cannot go deep as with Qt. So Gtk is really strong with rendering and such but to me Qt is better for the flexibility it has, this is one of the reasons why Qt based DEs (like Plasma) have to make their Qt theme close to the Gtk one instead of the opposite, or use tools like KVantum...

    • @OpenSourceTonight
      @OpenSourceTonight  3 ปีที่แล้ว

      Thanks for sharing your input. I wasn't aware of those issues. - Vincent

  • @VentureTracks
    @VentureTracks 3 ปีที่แล้ว

    Let me be apart of the first 100 subs!! Don't quit making videos bro you can be one of those people that retires on TH-cam uploads

  • @helios6978
    @helios6978 3 ปีที่แล้ว +7

    GTK = WIN32 API & C, QT = MFC & C++

    • @JCMH
      @JCMH 3 ปีที่แล้ว +6

      No, X11 = WIN 32 API & C.

    • @llothar68
      @llothar68 6 หลายเดือนก่อน

      GTK is very high level, much higher then MFC and C++ and the object system is better (more flexibel and stable) then Qt (which is kind of C+++)

  • @moneyfr
    @moneyfr 3 ปีที่แล้ว

    00:12 I love how you said

  • @elhafo6925
    @elhafo6925 3 ปีที่แล้ว

    Thanks for sharing!

    • @OpenSourceTonight
      @OpenSourceTonight  3 ปีที่แล้ว

      Your welcome! Thanks for watching. - Vincent

  • @avimehenwal
    @avimehenwal 3 ปีที่แล้ว +3

    good information thankyou for sharing. I am a wannabe desktop app developer and have been looking into alternatives apart from QT and GTK, so have been meaning to ask you,
    1. if you have ever considered any other GUI dev library apart from GTK and QT ? if yes, which one was it and how was it compared to GTK?
    2. flutter seems to be a new kid in town for building cross platform apps? have you tried it? would love to know your experiences ?
    3. And one biggest question of all, Is it even worth making dekstop apps anymore, when everyone seems to be going web and mobile ??? :D
    hope you wont mind answering them :)
    Cheers !!

    • @OpenSourceTonight
      @OpenSourceTonight  3 ปีที่แล้ว +1

      I'm happy to share what I know, and like. I've used java SWT a bit just for fun. I've also used wxpython before. I like both in someways but not in others. I tied flutter but I had issues even getting it work. I like writting my GUI apps in Python. So that's something I look at. It can't run in Python it's always a deal breaker.
      Thanks for watching. - Vincent

  • @pingo2514
    @pingo2514 3 ปีที่แล้ว +1

    Great video

  • @nijasec9644
    @nijasec9644 3 ปีที่แล้ว +8

    I personally prefer GTK I liked it

    • @OpenSourceTonight
      @OpenSourceTonight  3 ปีที่แล้ว +1

      Glad you enjoyed the video. Thanks for your support!

  • @moneyfr
    @moneyfr 3 ปีที่แล้ว

    why my GTK app are so slow on my pop os ?

  • @typingcat
    @typingcat 2 ปีที่แล้ว +1

    If only GTK released official libraries for popular languages for popular OS's. I mean, for example, if I want to use GTK for creating Windows application, the only thing I can fin is GTK#, but that seems not official, and it is outdated, and it lacks documentation.

  • @nyanlauncher7350
    @nyanlauncher7350 2 ปีที่แล้ว +1

    Just curious, but why do you use simple screen recorder instead of obs. I've never used simple screen recorder, but obs seem way more feature rich and it just works out of the box, for me anyways.

    • @OpenSourceTonight
      @OpenSourceTonight  2 ปีที่แล้ว +1

      These days I use OBS studio. At the time I just wanted something simple and simple screen recorder worked for me. - Vincent

  • @marcyanus1430
    @marcyanus1430 2 ปีที่แล้ว +1

    i like your mic.

  • @democracybacksliding
    @democracybacksliding 2 ปีที่แล้ว

    Thank you..!

  • @soundgardengalaxy
    @soundgardengalaxy 4 หลายเดือนก่อน +1

    I am new in Linux and i must say linux need nicer guis in apps..

    • @OpenSourceTonight
      @OpenSourceTonight  3 หลายเดือนก่อน

      I like most of the Linux GUI apps myself. What would you like to be done better? - Vincent

  • @TheDesertBlizzard
    @TheDesertBlizzard 2 หลายเดือนก่อน

    I just wish that GTK would die leaving only one major player left so Linux would stand a chance of becoming mainstream enough for the penguin to be shown next to the Apple and Window when checking supported platforms. Sometimes too much choice is a barrier to progress. Same when it comes to package managers. We don’t need 20 different ways to package software and 50 ways to install said software. Anyway, sorry for the rant.
    In short, GTK over QT because there is money to be made in GTK. It’s that simple.

  • @random6033
    @random6033 3 ปีที่แล้ว +3

    i use kde plasma and simple screen recorder matches my theme

    • @OpenSourceTonight
      @OpenSourceTonight  3 ปีที่แล้ว

      Cool! I use simple screen recorder myself. It's a great app. - Vincent

    • @roembol
      @roembol 3 ปีที่แล้ว +2

      Because KDE is based on Qt :)

    • @random6033
      @random6033 3 ปีที่แล้ว +1

      @@roembol ye

  • @tiantiancode
    @tiantiancode 3 ปีที่แล้ว +2

    谢谢你的分享,我学会了这两者的区别

  • @Paul-d4l
    @Paul-d4l 9 หลายเดือนก่อน

    Does GTK come with drag & droppable widgets like WinForms?

    • @OpenSourceTonight
      @OpenSourceTonight  9 หลายเดือนก่อน +2

      Yes. There is a tool for building GUI's called Glade. With it you can do just that. Here's link for you: help.gnome.org/users/glade3/3.8/glade3.html - Vincent

    • @Paul-d4l
      @Paul-d4l 9 หลายเดือนก่อน

      @@OpenSourceTonight Tysm!!

    • @llothar68
      @llothar68 6 หลายเดือนก่อน

      @@OpenSourceTonight Not useable for Gtk4 and it was always terrible and i preferred inline coding of gtk (edit & compile in a quick unit test)

  • @drymanhattan3701
    @drymanhattan3701 ปีที่แล้ว

    Gtk is open source?

    • @OpenSourceTonight
      @OpenSourceTonight  ปีที่แล้ว +1

      Yes it is. gtk.org is the project's site if you want to learn more. - Vincent

  • @ChestertonCharlotte
    @ChestertonCharlotte 3 หลายเดือนก่อน

    1545 Gorczany Shore

  • @rinaldslibeks1592
    @rinaldslibeks1592 2 ปีที่แล้ว +2

    i think kde need to migrte to gtk from qt

    • @destiny_02
      @destiny_02 2 ปีที่แล้ว

      Then it would just end up like gnome, a memory hag.

    • @rinaldslibeks1592
      @rinaldslibeks1592 2 ปีที่แล้ว

      @@destiny_02 the kde is so customisable and i dont like it i love mutter windowing manager as is with minus and plus and i love nautilus gedit all gnome apps and gdm display manager but not the gnome looks

    • @Henry-sv3wv
      @Henry-sv3wv ปีที่แล้ว +5

      >would just end up like gnome, a memory hag
      Xfce is a lightweight desktop environment using gtk
      (Xfce4 uses gtk3)

    • @rinaldslibeks1592
      @rinaldslibeks1592 ปีที่แล้ว

      @@Henry-sv3wv gtk4 is newer

    • @Henry-sv3wv
      @Henry-sv3wv ปีที่แล้ว +2

      @@rinaldslibeks1592 wayland is also newer but xfce depends on gtk3 and x11

  • @platin2148
    @platin2148 ปีที่แล้ว

    I‘d use copperspice instead of qt.

    • @OpenSourceTonight
      @OpenSourceTonight  10 หลายเดือนก่อน

      I've never heard of copper space before. Why do you think it's better than GTK and QT?

    • @platin2148
      @platin2148 10 หลายเดือนก่อน

      @@OpenSourceTonight No qmock everything like qt. And i think different licensing?

  • @counterstrikefan42069
    @counterstrikefan42069 หลายเดือนก่อน

    "oobooontu"

  • @moisesgarin
    @moisesgarin 2 ปีที่แล้ว

    GTK

  • @JakobKenda
    @JakobKenda 2 ปีที่แล้ว

    pacific 😭

  • @davidrobertjones2097
    @davidrobertjones2097 3 ปีที่แล้ว +10

    GTK 3 is just an over-engineered slow-ass hot dinosaur mess with catastrophic performance regressions when compared to GTK 2.
    To fix the 10 years old performance regressions the devs would need to revert to GTK 2.0 which was not totally messed up.
    Qt on the other hand is the only complete C++ toolkit with a professional set of tools and interfaces for the cross platform GUI developement, there is no competition in that matter.

    • @OpenSourceTonight
      @OpenSourceTonight  3 ปีที่แล้ว +4

      I haven't looked into to the code side of the library but I haven't had any issues with Qt, or GTK 3 when I've used both before. Thank you for your input. - Vincent

    • @arturczajkowski4255
      @arturczajkowski4255 3 ปีที่แล้ว +3

      I actually prefer gtk3/4 to Qt. To me one can do everything in gtk what it can be done in Qt, but the advantages are: Is totally free, qt is very, very pricey, uses std c/c++, none of that moc c**p, you are free to choose your own IDE where in qt you more or less force to use qtCreator and lots more...

    • @davidrobertjones2097
      @davidrobertjones2097 3 ปีที่แล้ว +3

      @@arturczajkowski4255 I really don't know where you get your information from but consider doing some research before taking up on a topic...
      1st: GTK is a widget toolki, wheres Qt is an application framework, GTK features only a small fraction of Qts functionality, So to counter your argument, No, GTK can't provide the same functionality as Qt does.
      2nd: Qt only costs money if you need to statically link it into one big executable and that's it, simply don't statically link it, a very small price to pay for RAD.
      3rd: you can use any IDE to develop a Qt application as long as the language-centric bindings are provided.
      4th: As for Qt's base types, most of them provide an interface to the std equivalent.
      Qt's types also force memory safety and are mainly meant for use within the Qt Framework itself, you are free to work with std types outside of the framework for performance critical appliances.

    • @arturczajkowski4255
      @arturczajkowski4255 3 ปีที่แล้ว +6

      @@davidrobertjones2097 This video is strictly about comparing qt and gtk so whatever definitions you provide for both of those frameworks is rather irrelevant. Both, gtk and qt aim to solve the same problem. My personal opinion is that Gtk does it better and more clever than Qt.
      I get my information from personal experience. As I for number of years worked with both, Qt and Gtk I prefer gtk to Qt for exactly the reasons I've listed in my previous comment.
      Now, perhaps you will do research before you post something.

      Let's talk about performance first. Qt uses both QML and Widgets with trend now going towards using QML in order to create user interface. As you are probably aware QML is powered by javascript. This immediately should tell you that UI made with QML is orders of magnitude less responsive/slower to those made with gtk which uses c/c++. So there your arguments about gtk being slow goes through the window. If anything Qt is "slow-ass" as you've put it, not gtk. OK, what about qt widgets vs gtk widgets and apps built with them. I personally didn't see difference in performance between those two. But the negative side of qt widgets is that if at one point you'll decide to make your application mobile, then you have to redo your entire UI in QML! Which in most business situations is simply a no-op and show stopper, potentially loosing milions to the company locked by Qt. On the other hand if you were using gtk no such action is required. You are using the same UI widgets for both desktop and mobile! No two UI bases! That's why I have said that gtk does it in much smarter way that qt. But this is not the only place where gtk does it in smart way and qt does it the hard way. Another example is, exactly what you've said about the difference between qt and gtk, the former being an application framework and the latter being a widget toolkit. Qt by trying to provide everything for every possible scenario and business model actually locks the user whilst gtk gives completely free hand to the users and it is up to the users to choose the appropriate components, most of if not all completely free and of much better quality than those provided by Qt. Famous example with QList when even people from Qt company were advising against using that component of their framework! Of course you can always provide links to sources that will back up what you're saying about performance of qt vs gtk, but unless you provide it, all you've said about gtk being slow ass is simply not true. So again, perhaps do your research first?
      Now let's talk about pricing. GTK is free. Completely, no strings attached. On the other hand Qt costs lots and lots of money for commercial licences. It is NOT TRUE when you're saying that: "Qt only costs money if you need to statically link it into one big executable". Please provide link to sources that will support your opinion. Otherwise, go and do proper research first.
      Another negative side of using qt as oppose to gtk (from developer's point of view), is that when working with qt, exactly because of the fact that qt provides all their own modules/types for everything it is a HUUUGE disadvantage for a developer using it, because that developer is only familiar with qt stuff and if he decides to change company/field he was developing up until now, all he knows is just QT stuff that is not standard c/c++! So if he wants to find a job as a c++ dev, he basically needs to learn standard stuff from scratch, whilst if he was using gtk, BECAUSE of the fact that gtk does use standard c/c++ the developer is already familiar with the language (c/c++) and doesn't need to do the switch from "QtC++" to standard c/c++.
      And yes, it is true that one can work with standard c++ whilst using qt but it is very, very cumbersome and unnatural in Qt world. Whilst in gtk, exactly because it is just a widget toolkit, using standard c/c++ is effortless and natural.

    • @davidrobertjones2097
      @davidrobertjones2097 3 ปีที่แล้ว

      @@arturczajkowski4255 I'm sorry, your opinion is endlessly biased, and you are clearly outworldly uninformed on this subject yet you are spreading disinformation left and right.
      QML is optional to use and is only a script language which uses Qt as a back-end and has nothing to do with how the Qt framework is generating or handling the GUI.
      QML is still way faster and more snappy than the broken GTK3+ in it's binary form.
      I'm very sorry, but given your lack of experience on this subject this conversation is a waste of my time.

  • @ltxr9973
    @ltxr9973 9 หลายเดือนก่อน

    I despise using GTK applications so using it for my own stuff would be pretty hypocritical

  • @about2mount
    @about2mount 11 หลายเดือนก่อน

    No Offence but QT was developed using GTK as it's base. Many do not know this. Also Wx uses GTK also but is much older. There are only three known original base machine toolkits. They are Mosaic GUI Toolkit and Widgets(Only Microsoft and Sun have licenses to use), GTK and TK. Everything else came from GTK except for the newer OpenGL or DirectX developed GUI used in gaming software.

    • @tachobrenner
      @tachobrenner 11 หลายเดือนก่อน +5

      Qt came before GTK, in 1992 or something. GTK came from GIMP, which only came out in 1995. GTK came in 1998. Qt came out earlier in 1995. It was beginning to be developed in 1991.

    • @ChristianConrad
      @ChristianConrad 6 หลายเดือนก่อน +1

      Why do people like to so confidently spout off about things they know nothing about?

  • @SB-rf2ye
    @SB-rf2ye 2 ปีที่แล้ว +5

    qt license sucks. screw them. not using anything from them ever.

    • @ioneocla6577
      @ioneocla6577 2 ปีที่แล้ว +3

      You mean gpl/lgpl ? Having such a great product double licensed is fair. You can either use the lgpl version even for commercial use but you will need to dynamically link it, or you can pay to statically link it. Simple

    • @Anthony-cn8ll
      @Anthony-cn8ll 10 หลายเดือนก่อน

      @@ioneocla6577 You can also statically link but you'd have to release the application with the object files so that users can replace the library.

  • @QuantenMagier
    @QuantenMagier 7 หลายเดือนก่อน

    Gtk-2 best toolkit ever, since then it sadly all went downwards..

    • @OpenSourceTonight
      @OpenSourceTonight  6 หลายเดือนก่อน

      I like Gtk 3 but Gtk 2 rocks! - Vincent

    • @arkeynserhayn8370
      @arkeynserhayn8370 4 หลายเดือนก่อน +1

      What is the problem of GTK3?

    • @QuantenMagier
      @QuantenMagier 4 หลายเดือนก่อน

      @@arkeynserhayn8370 1. They removed the ability to remap shortcuts, forcing everyone to a standard english keyboard shortcut layout.
      2. They introduced JavaScript as a major part of GTK Applications, making everything slow.
      3. They introduced a confusing ribbon application style instead of normal windows with menus.
      I think those are the three most important drawbacks of GTK3/4 compared to GTK2.

  • @theretroman3862
    @theretroman3862 3 ปีที่แล้ว

    Stop using fracking Adobe man! Use DaVinci instead of Premiere!