Using QML with C++
 Source code  here   Original article:  http://www.ics.com/blog/integrating-c-qml     Recently I stumbled onto an example where the front end of a small application was written in QML and the backend was done in C++. That was the exact thing I was searching for and it provided a great example of how to get QML and C++ working together.     Lets start with the qml:      //--------------------------------------------------------------------------    // SSH key generator UI       import QtQuick 2.1   import QtQuick.Controls 1.0   import QtQuick.Layouts 1.0   import QtQuick.Dialogs 1.0   import com.ics.demo 1.0