Fix broken links to cpp and rust docs (#7263)

This commit is contained in:
Nigel Breslaw 2025-01-03 11:03:43 +01:00 committed by GitHub
parent 12c99f1c80
commit 1ed40e6bc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -338,9 +338,9 @@ The path to each library, as file or directory, must be defined separately at co
Use one of the following methods to help the Slint compiler resolve libraries to the correct
path on disk:
* When using Rust and `build.rs`, call [`with_library_paths`](slint-build-rust:struct.CompilerConfiguration#method.with_library_paths)
* When using Rust and `build.rs`, call [`with_library_paths`](https://slint.dev/docs/rust/slint_build/struct.CompilerConfiguration#method.with_library_paths)
to provide a mapping from library name to path.
* When using C++, use `LIBRARY_PATHS` with [`slint_target_sources`](slint-cpp:cmake_reference#slint-target-sources).
* When using C++, use `LIBRARY_PATHS` with [`slint_target_sources`](https://slint.dev/docs/cpp/cmake_reference#slint-target-sources).
* When invoking the `slint-viewer` from the command line, pass `-Lmylibrary=/path/to/my/library` for each component
library.
* When using the VS Code extension, configure the Slint extension's library path