Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95713 Post-Qt-6.2.0 release CMake API follow ups
  3. QTBUG-95183

Research how qt_add_translations could be used for project-wide translation rather than target based one

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Fix Version/s: 6.3
    • Component/s: Build System: CMake
    • Labels:
      None

      Description

      Context
      https://git.qt.io/alcroito/qt6-cmake-api-review/-/commit/5313c017d09c51d9034dd62b33f968b9cd54363c#179fb5213a114272e340c63285f9fb35ba530ab8_388_465

      It's not yet clear what a CMake API would look like to allow handling project wide translation, rather than per-target translation. This is something that qmake in qt5 supports.

      We should research how that can be achieved.
      Possible avenues of investigation are use of file globbing, specifying multiple targets, some kind of global variable setting and automatic recursive target retrieval, or something else.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes