mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Replace sixtyfps-
This commit is contained in:
parent
37637e4433
commit
62b269ae44
7 changed files with 11 additions and 11 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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""",
|
||||||
|
|
|
@ -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`.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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" }
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue