Qt Quick's QML language makes it easy to do a lot of things, especially fancy animated user interfaces. However, there are some things that either can't be done or are not really suitable for implementing in QML. As we'll see, Qt makes it quite easy to expose C++ code to QML. In this blog post I'll show an example of doing this with a small but functional application.