Use query in QML file itself