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

Show CMake library target in Qt class documentation

    XMLWordPrintable

Details

    • 8
    • Da Vinci sprint 9, Da Vinci sprint 10
    • d9d84929927c589ec4e6d4e944a9ae4004be31bd b80db738944e2c1513a61c1086bb2c27be0c676e (qt/tqtc-qttools/6.1.0)

    Description

      Do add a 'CMake target' to the table at the start of class documentations.

       For [QFile|https://doc.qt.io/qt-5/qfile.html,] this might look like

      Header: #include <QFile>
      qmake: QT += core
      CMake target: Qt::Core
      Inherits: QFileDevice
      Inherited by: QTemporaryFile

      This would allow users to instantly see which target needs to be used in target_link_libraries to make use of the class. The right call to get the target imported should be documented on the module page.

      Attachments

        For Gerrit Dashboard: QTBUG-84024
        # Subject Branch Project Status CR V

        Activity

          People

            paulwicking Paul Wicking
            kkohne Kai Köhne
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes