top | item 35653817

(no title)

dharmon | 2 years ago

I strongly agree with this, with one caveat: there are a few modules that are GPL and not LGPL. Definitely check the module licenses to make sure you're not going to need anything that is GPL. Most likely you won't.

On an unrelated note, as someone who mainly builds desktop tools and has used Qt for many many years, but would like to get away from C++ for UI logic, I can't see any reasonable alternative, but would love for some suggestions.

Qt just makes so many things easy, and basically every use-case is well-explored. Most other options seem to just focus on making easy things easy. As soon as you want to render something in 3D, make a node editor, call into or share data with C++ libraries, implement a reasonable undo/redo system, re-skin the UI to not look like a children's app, etc, other options fall flat.

discuss

order

deutschepost|2 years ago

True, some modules are under the GPL only. Here[0] is a very nice website showing an overview.

As for alternatives there really is not much to choose from. For small projects which are not reliant on the performance/native designs of Qt, Dear ImGui looks nice[1]. But it is very much tailored for a different Use Case.

Edit: I said that [0] is a nice website. But you only get a complete view of the situation if you cycle through all of the open source licenses. Too bad there is no "Open Source" option. Would hurt their sales I guess...

[0] https://www.qt.io/product/features

[1] https://github.com/ocornut/imgui

5-|2 years ago

> used Qt for many many years, but would like to get away from C++ for UI logic

i've been thinking about this lately.

objc/nextstep got swift.

c/gobject got vala.

c++/serenity is getting jakt.

these are all higher-level compiled languages whose design is directly informed by the corresponding framework apis.

especially in the olden days, when qt wasn't as much c++ as moc/c++, it would have definitely seemed like there was another language in there. why hasn't it been extracted?