Based on this Stackover flow post I guess it CAN be compiled but that depends on the version, open-source, commercial, etc:
https://stackoverflow.com/questions/9448296/is-qml-translate...
JMP.chat exists but honestly that's kind of a crutch or work around if your primary cell phone can't make or receive calls on its own without ANOTHER broker or provider.
One thing I did like about Sailfish OS and to a lesser extent Ubuntu is that it's mostly "standard" Linux under the hood so you can do things like run dnsmasq or something like that and tweak it as needed.
But in this day and age I think the bare minimum for a cell phone is calling, texting (SMS), possibly MMS and GPS/maps that don't need a network or Internet connection. I'm hoping PostmarketOS, Sailfish, Ubuntu Touch, open-source-smart-phone will get there but I'm not holding my breath.