Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88382

Translations in shared libraries are not properly embedded on Android

    XMLWordPrintable

Details

    • Android

    Description

      When specifying CONFIG += lrelease embed_translations in a primary executable and also in supporting shared libraries, the translations are generated properly, however they are not all getting added to the resource system on Android. I suspect this may have something to do with the fact that they all have the same generated name:

      qmake_qmake_qm_files.qrc

      qrc_qmake_qmake_qm_files.cpp

       

      And internally, they all appear to use the same qInitResources_qmake_qmake_qm_files to register the resources in the global scope. For whatever reason, it works fine on Windows, but Android compilers do not seem to take the resources for any except the primary executable. Perhaps these generated QRC files should have a different name?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtandroidteam Qt Android Team
            mtmcp Mason McParlane
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes