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

    • All
    • 42d263544 (dev), 86169eefe (6.9), b2a098384 (6.9.0)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes