.QM

Файл QM

Qt Compiled Translation File
Задать вопрос
БЫСТРЫЙ ОТВЕТ

A QM file is a compiled binary translation catalog used by Qt applications to display their interface in another language. You do not open or edit a QM file directly; to change translations you work in the matching .ts source file using Qt Linguist, then compile it back to .qm with lrelease. QM files are passive data and safe to have on your system.

Разработчик: The Qt Company (originally Trolltech / Nokia / Digia) Категория: Файлы данных Открыть стандартное MIME: application/octet-stream
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .PKPASS · .DAT · .JSON · .RIS

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 17, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла QM?

.qm files are associated with Qt Linguist, a translation software tool developed by The Qt Company (originally Trolltech).

Files with a .qm extension store source text and its compiled translation to a target language. .qm files store data in binary format for fast data access and lookup at runtime. They are used for distributing application translations into local languages across Windows, macOS, Linux, Android, iOS, and other Qt-supported platforms.

.qm is the compiled, runtime-loaded counterpart of the human-editable .TS (Translation Source) file. The workflow is: developers and translators work in the .ts XML file, then the lrelease command-line tool compiles it into a compact .qm binary that the application loads at startup via Qt's QTranslator class.

Qt Linguist allows users to create application translations and localizations. Because .qm is a compiled binary file and not a plain text file, it is not possible to read its contents directly - not even with Qt Linguist itself. The file begins with a fixed 16-byte magic number, followed by tagged data blocks (Hashes, Messages, Contexts, NumerusRules, Dependencies) that enable fast string lookup at runtime.

In order to open a .qm file with Qt Linguist, it is necessary to convert it back to .ts first. There are many tools that allow such conversion; most of them are command-line utilities, including lconvert (part of the Qt tools bundle). The resulting .ts file can be opened directly with Qt Linguist. .ts files are editable - a user can translate the text and then convert the file back to .qm using lrelease. This process allows users to generate and distribute language packages for applications.

Безопасность и защита

РИСК: LOW

A .qm is passive translation data loaded by Qt's QTranslator and executes no code. It is safe. The only practical caution is editing the wrong file: changes must be made in the .ts source and recompiled, since hand-editing the binary .qm will corrupt it.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕQt Compiled Translation Fileтакже известен как Qt message file, compiled Qt translation
РАЗРАБОТЧИКThe Qt Company (originally Trolltech / Nokia / Digia)с 1990s (Qt internationalization framework)
КАТЕГОРИЯФайлы данных
MIME-ТИПapplication/octet-stream
ТИПCompiled binary translation catalog (binary)
СТАНДАРТОткрытый · без роялти
СВЯЗАННЫЕ.pkpass.dat.json.ris
Это расширение также используется в…
  • QuickTime metadata / misc - Occasionally seen for unrelated tool data; the dominant meaning is the Qt compiled translation.
MAGIC BYTES · СИГНАТУРА ФАЙЛА
СМЕЩЕНИЕ
000102030405060708090a0b0c0d0e0f
HEX
3CB86418CAEF9C95CD211CBF60A1BDDD
ASCII
<·d······!··`···
A .qm file starts with a fixed 16-byte magic number used internally by Qt's QTranslator to recognise the file, followed by length-prefixed data blocks (messages, hashes, contexts, dependencies).

Программы, открывающие файлы QM

Windows2 apps
Qt Linguist Открытый код Open the matching .ts in Linguist to edit; recompile to .qm with lrelease. Use lconvert to get a .ts from a .qm-only file.
Qt tools (lrelease / lconvert) Открытый код lconvert app_de.qm -o app_de.ts to decompile; lrelease app_de.ts to recompile.
macOS1 app
Qt Linguist Открытый код Open the matching .ts in Linguist to edit; recompile to .qm with lrelease. Use lconvert to get a .ts from a .qm-only file.
Linux1 app
Qt Linguist Открытый код Open the matching .ts in Linguist to edit; recompile to .qm with lrelease. Use lconvert to get a .ts from a .qm-only file.

Технические подробности

глубокая спецификация
DeveloperThe Qt Company (originally Trolltech / Nokia / Digia)
Format typeCompiled binary translation catalog
MIME typeapplication/x-qm (also application/octet-stream)
File signature (magic bytes)16-byte header at offset 0: 3C B8 64 18 CA EF 9C 95 CD 21 1C BF 60 A1 BD DD
Byte orderBig-endian
Internal structureTag/length/value blocks: Hashes, Messages, Contexts, NumerusRules, Dependencies
String encodingUTF-16 or UTF-8 per string
CompressionNone - strings stored as-is; plural (numerus) rules encoded compactly
Typical file size5 KB - 2 MB, depending on number of translated strings
Source format.ts (Translation Source, XML) - the human-editable counterpart compiled by lrelease
Compilation toollrelease (Qt command-line tool, part of the Qt tools bundle)
Reverse conversion toollconvert (Qt command-line tool) - converts .qm back to .ts or other formats
Runtime loaderQTranslator class in the Qt framework
String lookupO(1) via per-message hash table embedded in the file
Supported platformsWindows, macOS, Linux, Android, iOS, embedded Qt targets
Выпущен1990s (Qt internationalization framework)
Последняя версияTied to the Qt release stream (Qt 6.x in 2026); QM binary layout stable
Открыть стандартноеДа · без роялти
Спецификацияdoc.qt.io

Конвертации QM

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами QM. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах QM.

Часто задаваемые вопросы

What is a .qm file?
It is a compiled translation catalog used by Qt applications to show their interface in another language. It is generated from an editable .ts file and loaded by the app at runtime.
How do I open or edit a .qm file?
You don't edit the .qm directly. Decompile it to a .ts file with Qt's lconvert tool, edit the .ts in Qt Linguist, then recompile to .qm with lrelease.
What is the difference between .ts and .qm?
.ts is the human-editable XML translation source; .qm is the compiled binary the application actually loads. Developers edit .ts and produce .qm with lrelease.
Can I translate a program if I only have its .qm files?
Yes - run lconvert app.qm -o app.ts to get an editable .ts, translate it in Qt Linguist, then lrelease it back to .qm and place it in the app's translations folder.
Where are .qm files located?
Usually in a translations/ subfolder of a Qt application's install directory, or embedded in the app's Qt resource bundle (.qrc), named like app_fr.qm.
Why is my Qt app showing the wrong language?
The needed .qm may be missing, outdated, or not loaded. Check the translations folder for the right language code and that the app's QTranslator is set to load it.

Ссылки

1Qt - Qt Linguist Manual: Translatorsdoc.qt.io
2Qt - Linguist Manager (lrelease/lconvert)doc.qt.io

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.MDMarkdown Document
8.DATProgram Data File (generic)
9.NOMEDIAAndroid No-Media Marker File
10.TXTPlain Text File

Похожие расширения

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z