tried some qml samples with qmlviewer, pretty fancy UI...
wonder how qml is integrated with other C++ parts?, saw that qml can be loaded into QmlView, but how to link the qml UI to business logic in an application. saw the calculator sample has a js file? is it?

don't see where QML fit in the whole picture...

any light on this?