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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes