import Qt.test 1.0 MyQmlObject { property variant a: function myFunction() { return 2; } }