diff --git a/src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml b/src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml
index a46ab5ed42baefca2ccb35a12e8c5c5df357d4b7..6c17c14689096fc5878077d1a1481f9bc507ac80 100644
--- a/src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml
+++ b/src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml
@@ -6,6 +6,7 @@
         <comment>QML file</comment>
         <glob pattern="*.qml"/>
         <glob pattern="*.qmlproject"/>
+        <glob pattern="*.qmltypes"/>
         <glob pattern="*.qbs"/>
         <glob pattern="*.qbp"/>
     </mime-type>