r/cpp • • 11d ago

GUI Toolkit Slint 1.19 is out with backdrop blur, animated GIFs, and inertial scrolling on iOS and Android

https://slint.dev/blog/slint-1.19-released

and also with WASM and iOS support for C++ users. Thanks to all the 51 contributors for making this release happen.

13 Upvotes

4 comments sorted by

7

u/sooka_bazooka 10d ago

Any reason to use this compared to Qt? From the changelog they at least have close-to-native scroll views on iOS but anything more substantial?

3

u/chaos_pill 10d ago

I assume you meant QML, because slint is DSL based.

  • slint is cleaner/leaner. QML essentially embeds a mini js engine + has a lot of legacy cruft.
  • QML is LGPL. slint has a royalty free license for desktop/mobile/web apps, as they plan to make money from embedded enterprise.
  • Slint officially supports rust/c++/javascript/python. QML, AFAIK, only supports cpp/py. Although, there's the new https://www.qt.io/development/qt-framework/qt-bridges project that might add support for other languages.

OTOH, slint is not as powerful/mature as QML yet. You can't do advanced custom widgets, so, if you don't like their tab widget, good luck. On the same note, slint doesn't have support for registering "native" widgets. Although, it's just a matter of time as the royalty-free license allows community to grow faster and that will increase contributions over time.

5

u/AstroFoxTech 10d ago

I assume you meant QML

Tbh I would like to know why use Slint instead of Qt Widgets

1

u/chaos_pill 10d ago

same reason you would use qml over qt widgets. Convenience. Most of my comment still applies like licensing or maturity or multi-language support.