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

Linguist examples lack translation-related instructions in CMakeLists.txt

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 6.3.0 Alpha
    • 6.2.0 Beta3
    • Tools: Linguist
    • None
    • All
    • fef09af893f0d6cc473c93f54ab3e42d10508001 (qt/qttools/dev)

      The CMake project files in qttools/examples/linguist lack any translation-related instructions in CMakeLists.txt. See for example arrowpad:

      TRANSLATIONS = arrowpad_fr.ts \
                     arrowpad_nl.ts
      

      should be something like

      qt6_add_translations(arrowpad
          TS_FILES arrowpad_fr.ts
                         arrowpad_nl.ts)
      

      with some adjustments

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

            lugerard Lucie Gerard
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes