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

qt_add_translations only creates files after manually building "update_translations" target

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7
    • Build System: CMake
    • None

    Description

      Its confusing that the translations are not immediately created during cmake configure.

      The documentation (https://doc.qt.io/qt-6/qtlinguist-cmake-qt-add-translations.html#qt6-add-translations) and especially the example under "Automatic Determination of .ts File Paths" makes it look like all the user has to do is add the command to his CMakeLists.txt file, when in reality he also needs to build the special target.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes