Use QML to build smart graphical applications
Tutorial – Writing QML Apps
QML makes writing desktop applications a breeze, and you can later compile them into standalone programs that work more or less anywhere.
In last month's issue, I looked at how to use a phone's GPS to live-stream a geographic location to a computer that didn't have a GPS [1]. Then, I took the whole thing on the move with an interactive map you could put together with QML [2], Qt's declarative scripting language.
In this article, I'll look at QML in more depth and build a graphical sample application from scratch. To get started, you can install the bits and pieces you need in Debian/Ubuntu-like distros with:
sudo apt install qt5-default qtdeclarative5-qtquick2-plugin
[...]
Buy this article as PDF
(incl. VAT)