Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
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`