Making Slint Desktop-Ready

https://slint.dev/blog/making-slint-desktop-ready

12 points · 2 comments · view on lemmy.world

2 Comments

onlinepersona@programming.dev · 1 pts · 328d (1 reply)

Damn, I was hoping it would be an announcement about making it mobile ready, but this will do too. Being able to easily write mobile apps in Rust is the dream...

calcopiritus@lemmy.world · 1 pts · 327d

I haven't tried using a GUI library for this. But it is possible (and relatively easy) to build for Android using rust.

I found this tool called "x build" that works basically out of the box. It was a bit tricky to set up the release build, but got it working too.

I made a small App using winit+wgpu and it seems to work. Win it also has touchscreen-specific events.

Iced does use winit+wgpu, so if they are listening to the touchscreen events, it should work for Android. Haven't tested it though.