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

[DOCS] cmake line incorrect for private stuff

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes