QML: Fetch mouse event of MouseArea in C++
<p>I am trying to connect <code>MouseArea</code> mouse event with C++, But the <code>QQuickMouseArea</code> is private, so i could not fetch the signal.</p>

<p>Like this: </p>

<pre><code>QObject::connect(mouseAreaObj, SIGNAL(released(QMouseEvent*)),
                 handlerObj, SLOT(handleEvent(QMouseEvent*)));
</code></pre>

<p>Is there any way to solve this?</p>

<p>And if not able, i wonder why Qt not allow us to access <code>QQuickMouseArea</code>.</p>