Il 02/07/20 18:16, Julius Bullinger ha scritto:

from the Qt Linguist documentation [1]:

In Qt 4, there is one big, monolithic .qm file per locale. For > example, the file qt_de.qm contains the
German translation of all > libraries. > > In Qt 5, the .qm files were split up by module and there is a > so-called meta catalog file which includes the .qm files of all > modules. The name of the meta catalog file is identical to the name > of Qt 4's monolithic .qm file so that existing loader code works as > before provided all included .qm files are found.

However, loading the meta catalog with QTranslator doesn't seem to work:


I think the key part of the sentence is "provided all included .qm files are found". If you open up your qt_de.qm, chances are it's trying to reference .qm files for modules you don't have installed (e.g. QtScript).

See also the discussion here:

https://doc.qt.io/qt-5/internationalization.html#available-catalogs

HTH,

--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to