

You can consider nappgui sdk which will handle it
https://nappgui.com/en/home/web/home.html
However because this is C, let’s just use libraries GLib/GTK is already cross-platform.
Code Example/Build process https://wrycode.com/gtk3-cross-compile/
There are other examples/libraries so it depends on what you need.





My misunderstanding.