|
|
|
Ask HN: GUIs on embedded linux, oh my
|
|
3 points
by voxnix
3693 days ago
|
|
By day I am not an embedded developer; by night I'm trying to be. I have an i.MX6 (solo) based device that I ultimately intend to sell in [very] small quantities for a niche market. In other words, this is closer to a hobby than an actual business. One of the requirements is a very attractive and responsive UI. Based on my research Qt seems the best fit, but its LGPL restrictions and very expensive commercial license makes it almost impossible for me to choose. Qt wants $6,600 up front plus royalties and afterwards a subscription for support. I'm just a guy trying to build a thing... I can't afford that! Trying to look for alternatives has been frustrating. The practicality of HTML5 on my platform isn't sure to me. To real embedded linux developers out there, please tell me what you use for your GUIs? It needs to be something of similar quality to a car infotainment system. |
|
You can use the LGPL version of Qt as long as you use dynamic linking to the Qt libraries and provide for the other things in the agreement (like letting users access the Qt source code, provide a way to update libs, etc). I haven't had a need to modify the libraries at all, I'm using a vanilla build for ARM right from the Yocto output.
In my opinion (been doing this for 25 years) Qt is the only embedded UI that's worth using these days. I stick with 4.8 and don't use Qt5 or QML, although you probably get a lot more performance out of the system that way and get to harness the accelerator under OpenGL.
Qt4 on 6Solo works fine enough for me and it's dead simple to do stuff like talk to lower-level drivers or make a Windows version for demonstration. Freescale supports enough of the backend stuff to use gStreamer and ALSA. I like that.
I recently tore down a car infotainment system that used iMX6 and Opera as the UI. The backend was all in Javascript. It looks like hell to develop for, but then again I don't work in Javascript all day.