docs: Modernize the tutorials for 1.0

This commit is contained in:
Tobias Hunger 2023-02-08 19:37:18 +01:00 committed by Tobias Hunger
parent 59e0723793
commit e64e15e277
21 changed files with 83 additions and 85 deletions

View file

@ -4,11 +4,11 @@ In this tutorial, we use C++ as the host programming language. We also support o
[Rust](https://slint-ui.com/docs/rust/slint/) or [JavaScript](https://slint-ui.com/docs/node/).
You will need a development environment that can compile C++20 with CMake 3.21.
We do not provide binaries of Slint yet, so we will use the CMake integration that will automatically build
the tools and library from source. Since it is implemented in the Rust programming language, this means that
We don't provide binaries of Slint yet, so we will use the CMake integration that will automatically build
the tools and library from source. Since it's implemented in the Rust programming language, this means that
you also need to install a Rust compiler (1.64). You can easily install a Rust compiler
following the instruction from [the Rust website](https://www.rust-lang.org/learn/get-started).
We are going to use `cmake`'s builtin FetchContent module to fetch the source code of Slint.
We're going to use `cmake`'s builtin FetchContent module to fetch the source code of Slint.
In a new directory, we create a new `CMakeLists.txt` file.