doc: Add "since"-note about 6.8 additions in cmake API
The PUBLIC_CODE/PRIVATE_CODE APIs were added to the cmake functions in Qt 6.8, so this should be mentioned in the docs. Pick-to: 6.8 Change-Id: I0430cbc659ddd2db65401b94811ca0d4c8f12010 Reviewed-by: David Redondo <qt@david-redondo.de>
This commit is contained in:
parent
af6f515806
commit
458aadde42
@ -36,8 +36,8 @@ qt_generate_wayland_protocol_client_sources() creates the build steps to run \c{
|
||||
code in C and C++ for implementing the protocols, and the resulting files will be built as part
|
||||
of the \c target.
|
||||
|
||||
The options \c{PUBLIC_CODE} and \c{PRIVATE_CODE} correspond to the \c{public-code} and
|
||||
\c{private-code} options of \c{wayland-scanner}. \c{PUBLIC_CODE} will cause the symbols in the
|
||||
The options \c{PUBLIC_CODE} and \c{PRIVATE_CODE} (added in Qt 6.8) correspond to the \c{public-code}
|
||||
and \c{private-code} options of \c{wayland-scanner}. \c{PUBLIC_CODE} will cause the symbols in the
|
||||
code that is generated by \c{wayland-scanner} to be exported. For backwards compatibility \c{PUBLIC_CODE} is the
|
||||
default but generally \c{PRIVATE_CODE} is strongly recommended.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user