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

[REG 6.6 -> 6.7] Automatic resource embedding path of qt_add_translations() has changed from Qt 6.6 to Qt 6.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.1, 6.7.2, 6.8.0 FF
    • 6.7.0
    • Build System
    • None
    • 9a6c9cc92 (dev), a5b2239a8 (6.7), dff9c6603 (6.7.1)

    Description

      If the CMakeLists.txt file containing the qt_add_translations() call is located in a subdirectory added via add_subdirectory() from the main CMakeLists.txt, the generated .qm files are no longer placed directly in :/i18n, but in :/i18n/subdirectory/.

      Currently, the only backwards compatible way to add the .qm files at the same location for Qt 6.7 and older versions seems to be using QM_FILES_OUTPUT_VARIABLE with qt_add_resources().

      Was this an intentional change?

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-124188
          # Subject Branch Project Status CR V

          Activity

            People

              jbornema Joerg Bornemann
              basyskom.jannis.voelker Jannis Völker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes