Please see my comment to the question. Not clear what your problem is. In contrast to it, the whole QML topic seems to be quite clear, including "communication with C++". Please see this article and
referenced documentation:
http://en.wikipedia.org/wiki/QML.
If something is still unclear, ask some more specific questions, starting with the explanation of
what have you tried so far?
—SA