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

[Possible regression 6.4.x->6.5.0] Cannot add translation to project from subdirectory (CMake)

    XMLWordPrintable

Details

    • 67c6d77e5 (dev), e92460baa (dev), 3c6715b9d (6.5), df16995be (6.5)

    Description

      Please find the attached reproducer and run it on Qt6.5.0.

      Trying to add translation from CMakeLists.txt in subdirectory 'translations': CMake cannot find source file xxx.qm.
      Trying to add translation from CMakeLists.txt in root (parent) subdirectory: works fine.

      However, adding translation from subdirectory works in Qt6.4.x.

      The issue seems to influence many other CMake commands that involves 'target', e.g., add shader or add resource.

      Attachments

        1. langtest.zip
          7 kB
          Luqiao Chen
        For Gerrit Dashboard: QTBUG-112841
        # Subject Branch Project Status CR V

        Activity

          People

            alexandru.croitor Alexandru Croitor
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes