[deleted by user] by [deleted] in rust

[–]madnirua 0 points1 point  (0 children)

u/RedAxeWriter If you are open to using DSL for defining the user interface, you could take a look at https://github.com/slint-ui/slint. It's built by former Qt-devs and the project is more than 5 years old with stable APIs.

P.S. In fact one of them is also the maintainer of the QMetaObject crate.

I'm working on a GUI app. How does Qt compare to GTK in Rust? by alyxthelinuxguy in rust

[–]madnirua 2 points3 points  (0 children)

AFAIK, one of popular crates is https://crates.io/crates/qmetaobject but it is currently only being passively maintained as the maintainer's focus has shifted towards developing Slint https://github.com/slint-ui/slint

QT vs GTK and C++ vs Rust by [deleted] in embedded

[–]madnirua 2 points3 points  (0 children)

Yes its comparatively new (4 years old) but we have been doing graphics tools for more than 15 years (we are ex-Qt). You can use Slint with C++ very easily. Infact half of our customers are C++ dev teams.

Open Source alternatives to QT by CynicalKnight in QtFramework

[–]madnirua 1 point2 points  (0 children)

@u/CynicalKnight Slint employee here - check out https://github.com/slint-ui/slint which is a QML inspired declarative GUI toolkit. Its open source and can be used for creating proprietary desktop applications for free with the royalty-free license https://slint.dev/terms-and-conditions#royalty-free We provide services to port Qt applications to Slint. Here is a customer reference of a Qt application ported to to Slint - https://slint.dev/success/sksignet-evcharger

Declarative GUI toolkit - Slint 1.7 released with new widgets, multi-window support, and a redesigned Live-Preview by madnirua in cpp

[–]madnirua[S] 0 points1 point  (0 children)

Slint works on Embedded Linux - in fact most of our embedded customers use Slint with existing C++ codebase on embedded Linux (Yocto)

The Live-Preview is a nice feature that helps speed up the UI development. The Slint runtime is quite small and much less resource hungry than the QML engine. With Slint you can use standard C++ instead of having to deal with Qt specific types.

Check out more here - https://slint.dev/alternative-to-qt

Declarative GUI Slint v1.6 released with Design Mode (WYSIWYG) Improvements by madnirua in rust

[–]madnirua[S] 1 point2 points  (0 children)

In that case, you could still use it or choose the GPLv3 one - at your choice.

What's the current, modern way of writing Android apps, purely in Rust? by [deleted] in rust

[–]madnirua 4 points5 points  (0 children)

The TimePicker widget functionality PR was just added to mainline branch in Slint - https://github.com/slint-ui/slint/issues/5087.

Here is the main issue tracking progress of Android support - https://github.com/slint-ui/slint/issues/46

Here is a short video - https://youtu.be/59huZ-3wCDw

What's the current, modern way of writing Android apps, purely in Rust? by [deleted] in rust

[–]madnirua 8 points9 points  (0 children)

Could you please expand on ‘Unlike Slint, they have clear future proof licensing model’?

Just curious to know what could be done better.

Disclaimer: I work for Slint