Replace sixtyfps-

This commit is contained in:
Olivier Goffart 2022-02-02 14:45:44 +01:00
parent 37637e4433
commit 62b269ae44
7 changed files with 11 additions and 11 deletions

View file

@ -91,8 +91,8 @@ You can download one of our pre-built binaries for Linux or Windows on x86-64 ar
1. Open <https://github.com/sixtyfpsui/sixtyfps/releases> 1. Open <https://github.com/sixtyfpsui/sixtyfps/releases>
2. Click on the latest release 2. Click on the latest release
3. From "Assets" download either `sixtyfps-cpp-XXX-Linux-x86_64.tar.gz` for a Linux x86-64 archive 3. From "Assets" download either `slint-cpp-XXX-Linux-x86_64.tar.gz` for a Linux x86-64 archive
or `sixtyfps-cpp-XXX-win64.exe` for a Windows x86-64 installer. ("XXX" refers to the version of the latest release) or `slint-cpp-XXX-win64.exe` for a Windows x86-64 installer. ("XXX" refers to the version of the latest release)
4. Uncompress the downloaded archive or run the installer. 4. Uncompress the downloaded archive or run the installer.

View file

@ -14,8 +14,8 @@ You can download one of our pre-built binaries for Linux or Windows on x86-64 ar
1. Open <https://github.com/sixtyfpsui/sixtyfps/releases> 1. Open <https://github.com/sixtyfpsui/sixtyfps/releases>
2. Click on the latest release 2. Click on the latest release
3. From "Assets" download either `sixtyfps-cpp-XXX-Linux-x86_64.tar.gz` for a Linux archive 3. From "Assets" download either `slint-cpp-XXX-Linux-x86_64.tar.gz` for a Linux archive
or `sixtyfps-cpp-XXX-win64.exe` for a Windows installer. ("XXX" refers to the version of the latest release) or `slint-cpp-XXX-win64.exe` for a Windows installer. ("XXX" refers to the version of the latest release)
4. Uncompress the downloaded archive or run the installer. 4. Uncompress the downloaded archive or run the installer.
After extracting the artifact or running the installer, you can place the `lib` sub-directory into your `CMAKE_PREFIX_PATH` and `find_package(Slint)` should succeed in locating the package. After extracting the artifact or running the installer, you can place the `lib` sub-directory into your `CMAKE_PREFIX_PATH` and `find_package(Slint)` should succeed in locating the package.

View file

@ -61,7 +61,7 @@ exhale_args = {
"exhaleExecutesDoxygen": True, "exhaleExecutesDoxygen": True,
"exhaleDoxygenStdin": """INPUT = ../../api/cpp/include generated_include "exhaleDoxygenStdin": """INPUT = ../../api/cpp/include generated_include
EXCLUDE_SYMBOLS = slint::cbindgen_private* slint::private_api* vtable* SLINT_DECL_ITEM EXCLUDE_SYMBOLS = slint::cbindgen_private* slint::private_api* vtable* SLINT_DECL_ITEM
EXCLUDE = ../../api/cpp/include/vtable.h ../../api/sixtyfps-cpp/include/slint_testing.h EXCLUDE = ../../api/cpp/include/vtable.h ../../api/cpp/include/slint_testing.h
ENABLE_PREPROCESSING = YES ENABLE_PREPROCESSING = YES
PREDEFINED += DOXYGEN PREDEFINED += DOXYGEN
WARN_AS_ERROR = YES""", WARN_AS_ERROR = YES""",

View file

@ -75,7 +75,7 @@ What this article omits are how we invoke cbindgen and what kind of tweaks we ap
The C++ library consists of four components: The C++ library consists of four components:
1. The `slint-cpp` cdylib created by `cargo`/`rustc` from `api/sixtyfps-cpp`. 1. The `slint-cpp` cdylib created by `cargo`/`rustc` from `api/cpp`.
1. The public header files in `api/cpp/include`. 1. The public header files in `api/cpp/include`.
1. Internal header files generated by `cbindgen`, via `cargo xtask cbindgen`. 1. Internal header files generated by `cbindgen`, via `cargo xtask cbindgen`.
1. The CMake project to tie it all together by invoking `corrosion` to call `cargo` and invoking `cbindgen`. 1. The CMake project to tie it all together by invoking `corrosion` to call `cargo` and invoking `cbindgen`.

View file

@ -3,7 +3,7 @@
/*! /*!
This crate contains internal data structures and code that is shared between This crate contains internal data structures and code that is shared between
the slint-core-internal and the sixtyfps-compiler(lib) crates. the slint-core-internal and the slint-compiler(lib) crates.
**NOTE**: This library is an **internal** crate for the [SixtyFPS project](https://sixtyfps.io). **NOTE**: This library is an **internal** crate for the [SixtyFPS project](https://sixtyfps.io).
This crate should **not be used directly** by applications using SixtyFPS. This crate should **not be used directly** by applications using SixtyFPS.

View file

@ -14,12 +14,12 @@ categories = ["gui", "development-tools"]
keywords = ["viewer", "gui", "ui", "toolkit"] keywords = ["viewer", "gui", "ui", "toolkit"]
[features] [features]
sixtyfps-backend-gl = ["slint-interpreter/backend-gl"] backend-gl = ["slint-interpreter/backend-gl"]
sixtyfps-backend-qt = ["slint-interpreter/backend-qt"] backend-qt = ["slint-interpreter/backend-qt"]
wayland = ["slint-interpreter/wayland"] wayland = ["slint-interpreter/wayland"]
x11 = ["slint-interpreter/x11"] x11 = ["slint-interpreter/x11"]
default = ["sixtyfps-backend-qt", "sixtyfps-backend-gl", "x11"] default = ["backend-qt", "backend-gl", "x11"]
[dependencies] [dependencies]
slint-core-internal = { version = "=0.2.0", path="../../internal/core" } slint-core-internal = { version = "=0.2.0", path="../../internal/core" }

View file

@ -582,7 +582,7 @@ impl LicenseHeaderCheck {
return Err(anyhow::anyhow!("Missing description field")); return Err(anyhow::anyhow!("Missing description field"));
} }
// Check that version of sixtyfps- dependencies are matching this version // Check that version of slint- dependencies are matching this version
let expected_version = format!( let expected_version = format!(
"={}", "={}",
doc.package()?.get("version").unwrap().as_value().unwrap().as_str().unwrap() doc.package()?.get("version").unwrap().as_value().unwrap().as_str().unwrap()