In version 5.2, this is changing.  See

http://doc-snapshot.qt-project.org/qt5-nosubdir/qtquick-porting-qt5.html

This currently has trunk broken.