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

[DOCS] cmake line incorrect for private stuff

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3: Somewhat important
    • Resolution: Duplicate
    • 6.4.1
    • None
    • Build tools: qdoc
    • None
    • All

    Description

      If you look at;

      https://doc.qt.io/qt-6/qtandroidprivate.html

      you'll notice that the cmake instructions contain both a find_package and a target_link_libraries line.

      For most actual libraries this is correct, but not for the private APIs as that isn't actually a separate library. For these documentation pages the suggested find_package line is confusing as using them will fail cmake with an error.

      Notice that the target_link_libraries line is correct and should stay.

      Attachments

        Issue Links

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

          Activity

            People

              docinfrastructure Documentation Infrastructure Team
              tomz Tom Zander
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes