Skip to content

Commit e08d1e5

Browse files
authored
mcpplibs.mwrap.slint + mcpplibs.slintgen 1.19.0.1: slint-m (Slint as C++23 modules, and the build rule slint.mcpp.plugins) (#861)
* mcpplibs.mwrap.slint + mcpplibs.slintgen 1.19.0: slint-m (Slint as C++23 modules, and the build rule mcpp.plugins.slint) Descriptors for slint-m mwrap-1.19.0 (GLOBAL, and CN mcpp-res/mwrap-slint, same bytes, sha256 f75b8fb3…): the wrapper, and the rule package in the archive's rules/ (grpcgen's shape). The consumer member tests/mwrap/slint-ui, the installed-template notice row and its validate step (headless). * mcpplibs.mwrap.slint + mcpplibs.slintgen 1.19.0.1: the rule module is slint.mcpp.plugins slint-m mwrap-1.19.0.1 (sha256 ed0da17d…, GLOBAL and CN identical): the module no longer starts with mcpp., so the member gate (R9.6) admits it. mwrap-1.19.0 was never indexed.
1 parent f5593a3 commit e08d1e5

14 files changed

Lines changed: 344 additions & 11 deletions

File tree

‎.agents/docs/2026-11-20-add-slint-mwrap-plan.md‎

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 实施方案:Slint 进入 mcpp 生态(compat.slint + mcpplibs.mwrap.slint + 构建规则 mcpp.plugins.slint)
1+
# 实施方案:Slint 进入 mcpp 生态(compat.slint + mcpplibs.mwrap.slint + 构建规则 slint.mcpp.plugins)
22

3-
状态:已按维护者决定修订(2026-11-20):规则放入 slint-m,模块名 `mcpp.plugins.slint`。上游版本:Slint 1.19.0(2026-11-16)。
3+
状态:已按维护者决定修订(2026-11-20):规则放入 slint-m,模块名 `slint.mcpp.plugins`(`slint.mcpp.plugins` 被索引的 R9.6 收录门拒绝,见 §1 修订记录)。上游版本:Slint 1.19.0(2026-11-16)。
44
本文的事实均为实测或读源码所得,出处写在各条之后;未验证的部分列在 §9。
55

66
## 0. 目标
@@ -11,7 +11,7 @@
1111
|---|---|
1212
| `find_package(Slint)` + 预构建 SDK | `compat.slint` 的预构建档位(xlings-res,GitHub + GitCode) |
1313
| `FetchContent(... SOURCE_SUBDIR api/cpp)` + `SLINT_FEATURE_*` | `compat.slint` 的同名 feature;未预构建的组合走源码构建(cargo,§4.3) |
14-
| `slint_target_sources(...)` 与目标属性 | 构建规则 `mcpp.plugins.slint`(包 `mcpplibs.slintgen`,slint-m 的 `rules/`,§5) |
14+
| `slint_target_sources(...)` 与目标属性 | 构建规则 `slint.mcpp.plugins`(包 `mcpplibs.slintgen`,slint-m 的 `rules/`,§5) |
1515
| `#include "app.h"` | 同上,另可 `import` 生成的组件模块(§5.3) |
1616
| — | `import mcpplibs.mwrap.slint;`(§6) |
1717

@@ -21,12 +21,13 @@
2121
|---|---|---|
2222
| 上游库原样构建 | `compat.<名>` | `compat.slint` |
2323
| 通用 C++ 库的模块封装 | `mcpplibs.mwrap.<名>`(docs/mwrap.md) | `mcpplibs.mwrap.slint`,仓库 `mcpplibs/slint-m` |
24-
| mcpp 专用构建插件(导入引擎接口 `mcpp`) | 通常 `mcpp.<命名空间>.*`(R9.6);保留的第二段只属于命名空间为 `mcpp` 的包 | 包 `mcpplibs.slintgen`(slint-m 的 `rules/`,与 grpc-m 的 `grpcgen` 同形),模块 `mcpp.plugins.slint` |
24+
| mcpp 专用构建插件(导入引擎接口 `mcpp`) | 通常 `mcpp.<命名空间>.*`(R9.6);保留的第二段只属于命名空间为 `mcpp` 的包 | 包 `mcpplibs.slintgen`(slint-m 的 `rules/`,与 grpc-m 的 `grpcgen` 同形),模块 `slint.mcpp.plugins` |
2525

2626
**修订记录。** 初版把规则放进官方插件包 `mcpp.plugins`(feature `rules-slint`,模块 `mcpp.rules.slint`),依据是 `rules-qt`
27-
等先例与 R9.6。维护者决定改为放入 slint-m、模块名 `mcpp.plugins.slint`(mcpp-plugins#64 已不合入关闭)。代价已核实:
28-
(1) 引擎对每次构建打印一条警告——`mcpp.plugins.slint` 由命名空间不是 `mcpp` 的包提供(R9.6,"Nothing breaks";
29-
警告建议 `mcpp.mcpplibs.*`);(2) `device_extensions` 的认领不经 `reexport` 传递,所以工程须自己在
27+
等先例与 R9.6。维护者决定改为放入 slint-m、模块名 `slint.mcpp.plugins`(mcpp-plugins#64 已不合入关闭)。代价已核实:
28+
(1) 实测:`mcpp.plugins.slint` 由命名空间不是 `mcpp` 的包提供,引擎每次构建警告,而索引的成员门(tests/run_members.sh)
29+
拒绝此类包,mcpp-index#861 因此失败;维护者改定模块名为 `slint.mcpp.plugins`(不以 `mcpp.` 起头,不受 R9.6 约束),
30+
以修订号 1.19.0.1 发布(mwrap-1.19.0 已打标签、未收录);(2) `device_extensions` 的认领不经 `reexport` 传递,所以工程须自己在
3031
`[build-dependencies]` 写 `mcpplibs.slintgen = { …, features = ["slint"] }`,slint-m 不再 reexport 规则;
3132
(3) 规则对 `mcpp.plugins`(feature `plugins-core`)的依赖写在规则包自己的 `[dependencies]`(mcpp 2026.10.11.1+ 形态)。
3233

@@ -75,7 +76,7 @@ xlings-res(GitHub + GitCode)
7576
slint-vendor/<ver>/slint-<ver>-vendor.tar.zst cargo vendor(源码构建离线依赖)
7677
skia-binaries/<key>/... rust-skia 预构建的逐字节镜像
7778
mcpplibs/slint-m
78-
src/*.cppm include/mwrap/slint/macros.hpp rules/(slintgen,模块 mcpp.plugins.slint) templates/hello tests tools
79+
src/*.cppm include/mwrap/slint/macros.hpp rules/(slintgen,模块 slint.mcpp.plugins) templates/hello tests tools
7980
```
8081

8182
## 4. compat.slint
@@ -114,7 +115,7 @@ feature 名与上游 cargo 功能名逐一相同(kebab-case,与 mwrap 规范
114115
(如 `mcpp:slint-runtime`)互斥,`mcpplibs.mwrap.slint` 的 feature 经 `feature-deps` 选择提供者;或单一包内由
115116
install / build 程序按功能集选择载荷。以 S2 的实测结果定稿。
116117

117-
## 5. 构建规则 mcpp.plugins.slint(slint-m 的 rules/)
118+
## 5. 构建规则 slint.mcpp.plugins(slint-m 的 rules/)
118119

119120
### 5.1 形态
120121

@@ -125,7 +126,7 @@ mcpp.plugins = { version = "0.26.1", features = ["plugins-core"] }
125126

126127
[features.slint]
127128
sources = ["src/slint.cppm"]
128-
rule_module = "mcpp.plugins.slint"
129+
rule_module = "slint.mcpp.plugins"
129130
device_extensions = [".slint"]
130131
```
131132
与 `rules-qt` 相同:不声明 SDK、不固定版本。`slint-compiler` 的来源按序:`options::compiler`;环境变量 `SLINT_COMPILER`;
@@ -174,7 +175,7 @@ device_extensions = [".slint"]
174175
| 阶段 | 交付 | 验收 |
175176
|---|---|---|
176177
| 0(实测) | S1–S3(§9) | 结论写回本文 |
177-
| 1 | xlings-res `slint` 的 `default` 档(4 平台,GLOBAL + CN);compat.slint 1.19.0(default 档,feature 与上游同名);`mcpp.plugins.slint`;slint-m(核心、`.interpreter`、`.platform`、`.macros`)与 `hello` 模板 | Linux(gcc/llvm)、Linux arm64、macOS、Windows 的 CI:模板严格构建并无头运行;规则的增量测试;运行时依赖闭包只含声明的提供者;导出审计 |
178+
| 1 | xlings-res `slint` 的 `default` 档(4 平台,GLOBAL + CN);compat.slint 1.19.0(default 档,feature 与上游同名);`slint.mcpp.plugins`;slint-m(核心、`.interpreter`、`.platform`、`.macros`)与 `hello` 模板 | Linux(gcc/llvm)、Linux arm64、macOS、Windows 的 CI:模板严格构建并无头运行;规则的增量测试;运行时依赖闭包只含声明的提供者;导出审计 |
178179
| 2 | `slint-vendor` 载荷;源码构建路径(任意功能组合) | 一个非档位组合(如 `default` + `gettext`)冷构建与二次缓存命中 |
179180
| 3 | `skia-binaries` 镜像;`full` 档;`renderer-skia*` | CN 镜像下无 GitHub 访问构建成功;Skia 渲染无头截图比对 |
180181
| 4 | linuxkms(compat.libinput soname)、Android / iOS / wasm / MCU 行、`backend-qt`、`gettext` | 各平台行的模板构建;KMS 以无显示设备的冒烟测试 |

‎.github/workflows/validate.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,6 +1722,13 @@ jobs:
17221722
shell: bash
17231723
run: python3 tests/mwrap/check_installed_template.py --mcpp "$MCPP" --package mcpplibs.mwrap.sheenbidi@3.0.0 --deploy
17241724

1725+
- name: Installed Slint wrapper archive, actual default hello template (headless) and its relocated notices
1726+
if: contains(format(' {0} ', env.MEMBERS), ' slint-ui ') && matrix.toolchain == 'default'
1727+
shell: bash
1728+
env:
1729+
SLINT_HEADLESS: "1"
1730+
run: python3 tests/mwrap/check_installed_template.py --mcpp "$MCPP" --package mcpplibs.mwrap.slint@1.19.0.1 --deploy
1731+
17251732
- name: Installed Wuffs wrapper archive, actual default decode template and its relocated notices
17261733
if: contains(format(' {0} ', env.MEMBERS), ' wuffs-decode ') && matrix.toolchain == 'default'
17271734
shell: bash

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
### Added
1111

12+
- **mcpplibs.mwrap.slint 1.19.0.1:slint-m,Slint 作为 C++23 模块;mcpplibs.slintgen 1.19.0.1:构建规则,模块 `slint.mcpp.plugins`。** 模块 `mcpplibs.mwrap.slint`(slint、slint::language)、`.interpreter`、`.platform`(仅 Clang;GCC 16 在包着 `slint-platform.h` 的模块上 ICE,故以文本 `#include` 提供)与 `.macros`(13 个 `SLINT_FEATURE_*` 常量),导出面由 SDK 头文件的 AST 生成并审计;链接 compat.slint 1.19.0。规则包 slintgen(同一归档的 `rules/`,与 grpcgen 同形)为每个 `.slint` 文件运行 `slint-compiler`(上游 `slint_target_sources` 的选项、每个输入一条带 depfile 的 action),设置 `module` 后每个文件还生成一个模块单元(`import app.ui;`);工程在 `[build-dependencies]` 写 `features = ["slint"]` 以认领 `.slint`。模块以库名命名而不用 `mcpp.plugins.*`(R9.6 把它留给 mcpp 命名空间,索引不收录此类包);1.19.0 已打标签与镜像但未收录,改名以修订号 1.19.0.1 发布。成员 tests/mwrap/slint-ui;默认模板 `hello`(无头时用软件渲染器)。Linux x86_64、macOS arm64、Windows x86_64(compat.slint 的载荷暂无 Linux aarch64)。
1213
- **compat.slint 1.19.0:Slint 的 C++ SDK(`libslint_cpp`、头文件 `slint/`、`slint-compiler`),上游 CMake 的桌面默认功能集(GPL-3.0-only / Royalty-free-2.0 / Software-3.0 三选一)。** 载荷是生态里的 `xim:slint`(xlings-res/slint,GitHub 与 GitCode 逐字节相同;Linux x86_64、macOS arm64、Windows x86_64),由发布 tag 经 cargo 按默认功能集构建:Linux 上 `libslint_cpp` 只 NEEDED fontconfig 与 C 运行时(X11、Wayland、GL 均 dlopen)。描述符把载荷的 include、lib(Windows 为 bin 的 DLL)与 `slint-compiler` 放进包的目录,`SLINT_FEATURE_*` 由 `<slint.h>` 的默认功能集定义。成员 tests/examples/slint:SharedString、VectorModel、Color,解释器编译一段源码并在无头平台上驱动组件。Linux aarch64 暂缺:`xim:fontconfig` 尚无 aarch64 载荷。
1314
- **mcpplibs.mwrap.wuffs 0.3.6:wuffs-m(Wuffs 的 C++23 模块),基于 compat.wuffs 0.3.6。** 每个上游包一个模块(`.base`、`.png`、`.gif`、`.json`、`.gzip` 等 16 个)、`.aux`(`wuffs_aux`)与 `.macros`;由 clang AST 生成并审计:429 个全局名导出,315 个 `static inline` 函数在 `mcpplibs::mwrap::wuffs` 中同名同签名适配,296 个宏常量与 34 个函数名宏映射,11 个附原因列出。上游 `convert-to-nia` 的模块移植版与上游程序在 `test/data` 的 246 个文件上逐字节一致,82/82 个 NIA 校验和一致。成员 tests/mwrap/wuffs-decode;validate.yml 以真实归档做已安装模板与部署通知检查。CN:mcpp-res/mwrap-wuffs。
1415
- **compat.wuffs 0.3.6:Google 的 Wuffs,面向不可信文件格式的内存安全解码器(Apache-2.0)。** 上游只发布单文件 `release/c/wuffs-v0.3.c`:本包取 tag 归档,以一个生成的翻译单元在 `WUFFS_IMPLEMENTATION` 下按 C++ 编译,C API(`extern "C"`)与只在 C++ 下定义的 `wuffs_aux`(DecodeImage、DecodeJson、DecodeCbor)都在同一个库里;使用者按上游写法 `#include <wuffs-v0.3.c>`。成员 tests/examples/wuffs:版本串、gzip 经 C API、CRC-32 与 Adler-32 的标准校验值、PNG 经 DecodeImage 逐像素、截断 PNG 被拒绝、JSON 遍历。0.4 线上游仍为 alpha。

‎mcpp.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ members = [
2323
"tests/mwrap/pocketpy-embed",
2424
"tests/mwrap/libpng-image",
2525
"tests/mwrap/libwebp-image",
26+
"tests/mwrap/slint-ui",
2627
"tests/mwrap/wuffs-decode",
2728
"tests/mwrap/concurrentqueue-mpmc",
2829
"tests/mwrap/fribidi-bidi",

‎pkgs/mwrap/slint.lua‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
-- Immutable upstream-aligned mwrap source release (slint-m mwrap-1.19.0.1);
2+
-- GLOBAL and CN bytes are identical.
3+
--
4+
-- The wrapper is Apache-2.0. The library it links, compat.slint (Slint 1.19.0,
5+
-- upstream CMake's desktop default features), is Slint's own three-way
6+
-- license (GPL-3.0-only, Royalty-free-2.0 or the Software license, at the
7+
-- user's choice); the package deploys Slint's README, LICENSE.md and the three
8+
-- license texts beside programs (runtime.deploy). Linux x86_64, macOS arm64 and
9+
-- Windows x86_64: compat.slint's payload has no Linux aarch64 row yet.
10+
--
11+
-- The build rule slint.mcpp.plugins is the separate package mcpplibs.slintgen
12+
-- (rules/ of the same archive).
13+
package = {
14+
spec = "1",
15+
namespace = "mcpplibs.mwrap",
16+
name = "slint",
17+
description = "slint-m: Slint (declarative GUI toolkit) as C++23 modules: the runtime API, the interpreter, the platform API and the features as constants",
18+
licenses = { "Apache-2.0" },
19+
repo = "https://github.com/mcpplibs/slint-m",
20+
type = "package",
21+
extensions = {
22+
autoupdate = {
23+
tag = "mwrap-${version}",
24+
url = "https://github.com/mcpplibs/slint-m/releases/download/${tag}/slint-m-${version}.tar.gz",
25+
},
26+
},
27+
xpm = {
28+
linux = {
29+
["1.19.0.1"] = {
30+
url = {
31+
GLOBAL = "https://github.com/mcpplibs/slint-m/releases/download/mwrap-1.19.0.1/slint-m-1.19.0.1.tar.gz",
32+
CN = "https://gitcode.com/mcpp-res/mwrap-slint/releases/download/1.19.0.1/slint-m-1.19.0.1.tar.gz",
33+
},
34+
sha256 = "ed0da17d0e0394eba430b0e877c270251710885024f35cbb2ec1e7a71c0b7ee2",
35+
},
36+
},
37+
macosx = {
38+
["1.19.0.1"] = {
39+
url = {
40+
GLOBAL = "https://github.com/mcpplibs/slint-m/releases/download/mwrap-1.19.0.1/slint-m-1.19.0.1.tar.gz",
41+
CN = "https://gitcode.com/mcpp-res/mwrap-slint/releases/download/1.19.0.1/slint-m-1.19.0.1.tar.gz",
42+
},
43+
sha256 = "ed0da17d0e0394eba430b0e877c270251710885024f35cbb2ec1e7a71c0b7ee2",
44+
},
45+
},
46+
windows = {
47+
["1.19.0.1"] = {
48+
url = {
49+
GLOBAL = "https://github.com/mcpplibs/slint-m/releases/download/mwrap-1.19.0.1/slint-m-1.19.0.1.tar.gz",
50+
CN = "https://gitcode.com/mcpp-res/mwrap-slint/releases/download/1.19.0.1/slint-m-1.19.0.1.tar.gz",
51+
},
52+
sha256 = "ed0da17d0e0394eba430b0e877c270251710885024f35cbb2ec1e7a71c0b7ee2",
53+
},
54+
},
55+
},
56+
}

‎pkgs/s/slintgen.lua‎

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
-- slintgen -- slint-compiler as an importable build rule (module slint.mcpp.plugins).
2+
--
3+
-- [build-dependencies]
4+
-- mcpplibs.slintgen = { version = "1.19.0.1", features = ["slint"] }
5+
--
6+
-- // build.mcpp
7+
-- import mcpp;
8+
-- import slint.mcpp.plugins;
9+
-- int main() { return mcpp::plugins::slint::compile({}) ? 0 : 1; }
10+
--
11+
-- The rule is this ecosystem's own C++ (not upstream's), so it stays in
12+
-- `mcpplibs`; it ships in the rules/ directory of the slint-m archive, as
13+
-- grpcgen ships in grpc-m's. The feature `slint` claims `.slint` as a source
14+
-- the rule compiles; the project names it.
15+
--
16+
-- The module is named under the library's name, not `mcpp.plugins.*`: SPEC-007
17+
-- R9.6 keeps that for the mcpp namespace and the index admits no package that
18+
-- provides such a module (tests/run_members.sh). 1.19.0.1 is the wrapper
19+
-- revision that renamed it; mwrap-1.19.0 was tagged and never indexed.
20+
package = {
21+
spec = "1",
22+
namespace = "mcpplibs",
23+
name = "slintgen",
24+
description = "slint-compiler as an importable mcpp build rule (host-module slint.mcpp.plugins)",
25+
licenses = {"Apache-2.0"},
26+
repo = "https://github.com/mcpplibs/slint-m",
27+
type = "package",
28+
29+
xpm = {
30+
linux = {
31+
["1.19.0.1"] = {
32+
url = {
33+
GLOBAL = "https://github.com/mcpplibs/slint-m/releases/download/mwrap-1.19.0.1/slint-m-1.19.0.1.tar.gz",
34+
CN = "https://gitcode.com/mcpp-res/mwrap-slint/releases/download/1.19.0.1/slint-m-1.19.0.1.tar.gz",
35+
},
36+
sha256 = "ed0da17d0e0394eba430b0e877c270251710885024f35cbb2ec1e7a71c0b7ee2",
37+
},
38+
},
39+
macosx = {
40+
["1.19.0.1"] = {
41+
url = {
42+
GLOBAL = "https://github.com/mcpplibs/slint-m/releases/download/mwrap-1.19.0.1/slint-m-1.19.0.1.tar.gz",
43+
CN = "https://gitcode.com/mcpp-res/mwrap-slint/releases/download/1.19.0.1/slint-m-1.19.0.1.tar.gz",
44+
},
45+
sha256 = "ed0da17d0e0394eba430b0e877c270251710885024f35cbb2ec1e7a71c0b7ee2",
46+
},
47+
},
48+
windows = {
49+
["1.19.0.1"] = {
50+
url = {
51+
GLOBAL = "https://github.com/mcpplibs/slint-m/releases/download/mwrap-1.19.0.1/slint-m-1.19.0.1.tar.gz",
52+
CN = "https://gitcode.com/mcpp-res/mwrap-slint/releases/download/1.19.0.1/slint-m-1.19.0.1.tar.gz",
53+
},
54+
sha256 = "ed0da17d0e0394eba430b0e877c270251710885024f35cbb2ec1e7a71c0b7ee2",
55+
},
56+
},
57+
},
58+
59+
mcpp = "*/rules/mcpp.toml",
60+
}

‎tests/mwrap/check_installed_template.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"mcpplibs.mwrap.libc": ("libc.cppm", None, b"", b"ISO/IEC 9899:2018"),
3232
"mcpplibs.mwrap.abseil": ("abseil.cppm", "upstream/abseil-cpp/LICENSE", b"Apache License", b"The Abseil Authors"),
3333
"mcpplibs.mwrap.openssl": ("openssl.cppm", "upstream/openssl/LICENSE.txt", b"Apache License", b"The OpenSSL Project Authors"),
34+
"mcpplibs.mwrap.slint": ("slint.cppm", "upstream/slint/LICENSE.md", b"Slint License", b"SixtyFPS"),
3435
"mcpplibs.mwrap.wuffs": ("wuffs.cppm", "upstream/wuffs/LICENSE", b"Apache License", b"The Wuffs Authors"),
3536
"mcpplibs.mwrap.protobuf": ("protobuf.cppm", "upstream/protobuf/LICENSE", b"Redistribution and use in source and binary forms", b"Google"),
3637
}

‎tests/mwrap/slint-ui/build.mcpp‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// `ui/app.slint` reaches slint.mcpp.plugins from `[build] sources`; the module
2+
// `app.ui` exports what the file exports and slint-compiler generates. The SDK
3+
// is compat.slint, reached through mcpplibs.mwrap.slint.
4+
import mcpp;
5+
import slint.mcpp.plugins;
6+
7+
int main() {
8+
mcpp::plugins::slint::options o;
9+
o.module = "app.ui";
10+
o.style = "fluent";
11+
return mcpp::plugins::slint::compile(o) ? 0 : 1;
12+
}

‎tests/mwrap/slint-ui/mcpp.toml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[package]
2+
name = "slint-ui"
3+
version = "1.19.0.1"
4+
description = "Consume the immutable Slint wrapper: the runtime types and the interpreter through the modules, a .slint file compiled by slint.mcpp.plugins into the module app.ui, a component driven headless, the features as constants"
5+
6+
[language]
7+
standard = "c++23"
8+
modules = true
9+
import_std = false
10+
11+
[indices]
12+
# Use the complete candidate built-in index prepared by tests/run_members.sh.
13+
# An explicit empty table overrides the legacy workspace redirect.
14+
15+
[dependencies]
16+
mcpplibs.mwrap.slint = "1.19.0.1"
17+
18+
# The build rule (module slint.mcpp.plugins): the project names the feature that claims `.slint`.
19+
[build-dependencies]
20+
mcpplibs.slintgen = { version = "1.19.0.1", features = ["slint"] }
21+
22+
[build]
23+
sources = ["src/*.cpp", "ui/app.slint"]
24+
25+
[targets.slint-ui]
26+
kind = "bin"
27+
main = "src/main.cpp"

0 commit comments

Comments
 (0)