Adds support for QML files

This will add support for running QML files with qmlscene or qmlviewer.