Also, remove the import path of the Qt that Creator was built with. It
might make things seem to work on built-from-source Creators that will
fail when Creator is shipped.
Reviewed-by: Erik Verbruggen
Determining the mime type is too expensive - and for deciding between
qml and js files comparing suffixes is sufficient.
Reviewed-by: Friedemann Kleint