[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1755092742774185.png (102 KB, 799x443)
102 KB
102 KB PNG
Which GUI framework?
>>
Qt, obviously.
>>
>>106715623
Why? What makes Qt good?
>>
If you want your application to be supported for longer than five years, Qt.

If you want to make an app that you drop after a month, gtk.
>>
>>106715636
it's cross platform and you can target embedded and web assembly. in other words, one framework for every device/platform in the world, and it's completely free if you open source the client code and want to make money.
>>
I never paid for a Qt license.
>>
>>106715671
did i mention that you can use it to even make android and ios apps? lol
>>
>>106715608
Xaw, Tk, FLTK, FOX, GTK 2
>>
>>106715636
Better for cross-plattform. Providing a Windows build is no issue and it will integrate into any Desktop Environment.
Gtk >3 looks out of place everywhere except Gnome, if you want to support Windows as well, expect 7 years of testing (thats how long it took for gimp).
And gtk <=3 is deprecated. And the same will happen for whatever version you choose.
At some point you will have to spend a huge amount of time rewriting for the newest faggot version that you don't even like and that removed features.

Meanwhile in the Qt world, big updates are less of a problem. Qt5 to Qt6 isn't much of an issue and they provide compat packages, if you are lazy.
Some projects do struggle to update, like Krita, because they use some super special thing, but it wont be a 7 year endeavour of pain, like it was for gimp with gtk.
>>
>>106715608
GTK cause QT is shit for theming/ricing even though GTK is flawed
>>
>>106715734
how do i rice gtk 4 to get server side decorations back?
>>
>>106715743
You can't, use >>106715709
>>
>>106715608
Qt is probably the only serious maintained gui framework on Linux these days.
>>
Qt is incomprehensibly jewish, it makes you create an account and download a bloated installer just to make a window that says "hello". I'm sticking with Win32.
>>
You can compile a Qt application for Windows and don't have to test it a lot, you can assume that it will work.
I don't want to test my stuff on every possible platform. I just give them an exe with a disclaimer that i don't test on Windows and that it is their responsibility to report when its broken.
>b-but if you are a corporation, you have a whole department for testing on all platforms anyway, hurr durr, you have to run your project like a corpo!
I am not a corpo.
>>106715709
Tk is unironically decent, i enjoyed playing with it.
>>
>>106716039
weird, i didn't have to create an account or download a bloated installed
>win32
too many ABI changes
>>
>>106716039
>it makes you create an account and download a bloated installer just to make a window
In Ubuntu this is just
sudo apt install qt6-base-dev
>>
>>106716039
>it makes you create an account
It does on Windows, but you can get around that by compiling QT yourself which isn't hard to do
>>
>>106716039
build it yourself https://decovar.dev/blog/2020/12/04/qt-without-installer/
>>
>>106715608
GTK is hot dogshit so use Qt if that's the only other thing you are considering.
>>
>>106715720
>Gtk >3 looks out of place everywhere except Gnome
gimp doesn't look out of place on windows or macOS
>>
>>106715608
They all fucking suck. After you've used a framework that follows the "view as function of state" pattern, you can't go back to imperative fuckery. It's so obvious it's completely unsuitable for UI.

Unfortunately, all the "view as function of state" frameworks are either way too immature or web based shit that takes 400MB of RAM just idling in the background, displaying a static window.
That's why I hate UI programming. All choices are wrong.
>>
>>106715671
Does it trigger the anti-js crowd?
>>
>>106716039
Use this.
https://github.com/miurahr/aqtinstall
>>
>>106715608
packaging qt sucks keep that in mind
>>
>>106715608
gtk is a microsoft project meant to sabotage linux
>>
>>106717027
Why would it? It's completely native cross-platform without JS
I hear QML is JS-like but the programs themselves are C++ and Python
>>
>>106717747
No, it's super easy. Must be a skill issue.
>>
File: shot-2021-12-21_15-10-18.png (624 KB, 1533x1127)
624 KB
624 KB PNG
use EFL
>>
>>106715608
Qt.
>>
>>106715636
>What makes Qt good?
It's not GTK.
>>
>>106717013
>"view as function of state" ROOOLS!!!
alas, it only works in relatively simple cases (though it's great in those)
it gets messier once you have complex components or transitions between views
>all the "view as function of state" frameworks are either way too immature or web based shit
Eh, Tk likes to work in that mode and is neither immature nor web-based (except for the weirdos who have ported it to work like that, and they're a minority of a minority)
>>
>>106716065
>Tk is unironically decent, i enjoyed playing with it.
Thank you. I think I'll try to keep maintaining it for some more years.
>>
>>106715720
>Gtk >3 looks out of place everywhere except Gnome
I hate it so god damn much. Normal apps look functional but every single GTK3 app looks like the most chinese iPad ripoff ever conceived.
>>
>>106720098
Gtk3 is good. He said Gtk>3, aka gtk4
>>
>>106715608
flutter



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.