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

CMake docs should mention required module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 6.2, 6.3
    • None

    Description

      Consider e.g. qt-add-tranlsations. https://doc.qt.io/Qt-6/qtlinguist-cmake-qt-add-translations.html . To use it, we need a

      find_package(Qt6 Components REQUIRED <other stuff> LinguistTools)

       

      However, that is neither evident from the linked page, nor from its direct parent page, https://doc.qt.io/Qt-6/qtlinguist-index.html

       

      This is less problematic with the API in declarative, as there you most likely need find_package to link against the libraries. However, at least for tools and their corresponding commands, we should add some pointer to the documentation.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              fabiankosmale Fabian Kosmale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes