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

[REG 6.8 -> 6.9] qt_add_translations creates QM files in PROJECT_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR

    XMLWordPrintable

Details

    • All
    • 42d263544 (dev)

    Description

      Reported on the mailing list: https://lists.qt-project.org/pipermail/development/2025-March/046190.html

      qt_add_translations now creates QM files in PROJECT_BINARY_DIR instead of CMAKE_CURRENT_BINARY dir. The latter is documented and correct.

      This seems to have been introduced by https://codereview.qt-project.org/c/qt/qttools/+/624085

      Work-around: add IMMEDIATE_CALL to the arguments of qt_add_translations, and make sure the call comes after all translatable targets are fully created.

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              jbornema Joerg Bornemann
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes