.qml Qt Markup Language file

Text & source code

MIME typetext/x-qml
DescriptionQt Markup Language file
CategoryText & source code
Signature (magic bytes)69 6D 70 6F 72 74 20 51 6D 6C (import Qml)
69 6D 70 6F 72 74 20 51 74 (import Qt)
Based ontext/plain
Other extensions.qmlproject, .qmltypes

Frequently asked questions

What is a .qml file?

A .qml file is a “Qt Markup Language file” (MIME type text/x-qml).

How do I open a .qml file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .qml file?

By the bytes at the start of the file, the signature (magic bytes): 69 6D 70 6F 72 74 20 51 6D 6C (import Qml) and 69 6D 70 6F 72 74 20 51 74 (import Qt). On Linux and macOS, file --mime-type example.qml checks the real type regardless of the extension.

Which format is .qml based on?

Technically a .qml file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .qml?

The MIME type is text/x-qml. In the Apache web server: AddType text/x-qml .qml; in nginx: types { text/x-qml qml; }.

Nearby entries