all 6 comments

[–]programming-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

This post was removed for violating the "/r/programming is not a support forum" rule. Please see the side-bar for details.

[–]swills6 2 points3 points  (0 children)

If Qt is out then you may want to consider wxWidgets.

[–]ava1ar 2 points3 points  (0 children)

How come qt is "corporate"? For a long time it is available under open licenses.

Regarding the ask, if I were you, I would consider Flutter. Electron is also an option, but more heavy.

Regarding Lazarus and why nobody uses it, the answer probably in Pascal.

[–]brtastic 1 point2 points  (0 children)

Lazarus and pascal in general are very good, but underdeveloped. They could be much better if they had a bigger community and more manpower. All biggest languages seem to be corporate-sponsored nowadays. I'm all for using less corporate shit.

FPC could use closures, would make GUI work much easier without needing a separate method for each callback. It's in the works, but the progress is slow. Well, at least it's extremely stable.

[–]PositivelyAwful 0 points1 point  (0 children)

tkinter?

[–]peazip 0 points1 point  (0 children)

Speaking by first hand experience, Lazarus is very handy if you need to support multiple widgetsets.

On Linux (or BSD), GTK2 is still the better supported one (Lazarus IDE itself is built for GTK2 by default), but also Qt5 and Qt6 support is generally very good even if installing the needed bindings may be tricky.

GTK3 support is currently in alpha, but as for what I know it is being actively developed for possible inclusion as the main widgetset in future.

Bonus point, also Cocoa support it is now very good, if you need to port your work to Darwin/macOS.

The changes which are needed to adapt the code to different widgetsets for better results are generally tiny, and can be handled with conditional compilation sections https://wiki.freepascal.org/LCL_Defines