[Solved] Add and use Qml file in C++
I'm on Qt 5.1.
I want to add and use a Qml file in my c++ program. Is it possible to have a clear example on how to do it please?
I had errors and warnings when I was trying to compile code from this page: "Interacting with Qml...":http://qt-project.org/doc/qt-5.1/qtqml/qtqml-cppintegration-interactqmlfromcpp.html
Everything worked fine after a “Run qmake” and a “Build All”.