Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt_fr.qm, qt_de.qm, qt_es.qm license
Qt 6.11 is out! See what's new in the release blog

Qt_fr.qm, qt_de.qm, qt_es.qm license

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 3.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tedmiddleton
    wrote on last edited by
    #1

    I'm working on a proprietary application that's using Qt under the LGPL license set to release to customers in the next few months. We've internationalized the application using QtLinguist and QTranslator. I'm a bit confused about the .qm files - like qt_fr.qm, qt_de.qm, qt_es.qm - that are distributed with the QtSDK, though.

    What's in them? Do we need them? Qt will NOT be installed on the customers' machines (windows machines) so we need to distribute the Qt dlls as part of the package. If we need to distribute the .qm files, what license are they under? Can we link them into our executable via a .qrc file?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      steno
      wrote on last edited by
      #2

      They have translations in them for some of the dialogs and other ui that Qt uses. You can open their corresponding ts file and see which ui elements they provide translations for. From there you can determine if you need them or not. Note, some of the translations are not complete. You can compile them in a qrc file.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tedmiddleton
        wrote on last edited by
        #3

        [quote author="steno" date="1377124122"]They have translations in them for some of the dialogs and other ui that Qt uses. You can open their corresponding ts file and see which ui elements they provide translations for. From there you can determine if you need them or not. [/quote]

        It's hard to tell. Many of the strings in the files seem to be error messages and we certainly don't need our error messages localized (not the ones indications programmer error, at least). Some of the strings, though, seem to be pretty important:

        @
        <context>
        <name>QDialogButtonBox</name>
        <message>
        <source>OK</source>
        <translation>OK</translation>
        </message>
        <message>
        <source>Save</source>
        <translation>Enregistrer</translation>
        </message>
        <message>
        <source>&Save</source>
        <translation>Enregi&strer</translation>
        </message>
        <message>
        <source>Open</source>
        <translation>Ouvrir</translation>
        </message>
        <message>
        <source>Cancel</source>
        <translation>Annuler</translation>
        </message>
        @

        I'm guessing that if I don't load that into a QTranslator, all the QDialogButtonBox's will have their Ok and Cancel buttons in English even when the locale is French or German?

        [quote author="steno" date="1377124122"]
        Note, some of the translations are not complete. You can compile them in a qrc file.[/quote]

        I don't know - this seems pretty scary. Linking the .qm files directly into the executable seems to be one of the generic answers on the web, but if those .qm files are Digia copyrighted, I don't think we can actually include them in our executable without violating the terms of the LGPL?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          You could try directly contacting Digia to have a precise answer for that

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            steno
            wrote on last edited by
            #5

            [quote author="tedmiddleton" date="1377125723"]I'm guessing that if I don't load that into a QTranslator, all the QDialogButtonBox's will have their Ok and Cancel buttons in English even when the locale is French or German?
            [/quote]

            That is correct. You either have to provide the translations yourself, or load the QTranslator. Good point on the licensing, I'm not too sure about that. You could just package them in the installer.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved