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

Mention needing to add find_package(... LinguistTools) to enable qt_add_translations cmake command

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P2: Important
    • 6.4.2, 6.5.0 FF
    • None
    • Documentation
    • None

    Description

      In the documentation:

      https://doc.qt.io/qt-6/cmake-get-started.html#adding-translations

      https://doc.qt.io/qt-6/qtlinguist-cmake-qt-add-translations.html

      Nowhere does it mention that without adding
      find_package(Qt6 REQUIRED COMPONENTS LinguistTools)
      beforehand these cmake functions do not exist. I had to hunt it down from one of the i18n examples.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            aelm Andrew Forrest
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes