Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126459 CMake API Review for Qt 6.8
  3. QTBUG-126471

Address Qt 6.8 CMake API review notes for qtwayland

    XMLWordPrintable

Details

    • 6a1557b41 (dev), 60a502722 (dev), feb6334f7 (6.8), 97bd4b65f (6.8)

    Description

      Controls symbol visibility of generated code.

      https://codereview.qt-project.org/c/qt/qtwayland/+/544539 - client: Add CMake options to control visibility of generated symbols

      https://doc-snapshots.qt.io/qt6-dev/qt-generate-wayland-protocol-client-sources.html

      Signature

      ```cmake
      qt_generate_wayland_protocol_client_sources(target
      [PUBLIC_CODE | PRIVATE_CODE]
      FILES file1.xml [file2.xml ...])
      ```

      Is documented.
      NO example snippet.
      Has "since qt version" blurb.
      Not TP.
      Missing link to doc page from cmake manual command reference
      https://doc-snapshots.qt.io/qt6-dev/cmake-command-reference.html
      Same for the counterpart `qt_generate_wayland_protocol_server_sources`, patch pending.

      *Notes:*

      *Action points:*
      AP: Add since qt version: Done, already there
      AP: Add example snippet Done, there is a link to a different page with examples
      AP: Add missing link to doc page Done
      AP: Ask maintainers if it makes sense to introduce a new cmake policy to swap the default to use `PRIVATE_CODE`

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes