crust·Rustbycm0002 Making Slint Desktop-Readyhttps://slint.dev/blog/making-slint-desktop-readyOpen linkView original on programming.dev12Comments2Reply
oonlinepersona programming.dev1Hide 1 replyDamn, 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...1Reply
ccalcopiritus replylemmy.worldI 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.1Reply
2 replies
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...
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.