Files
MemRelay/projects/0017cd22-9dea-4f87-9595-fc050356ff3c/Checkpoint 2026-11-21 16-39-39 UTC [3ee9e5847f].md
T
memrelay b66c95005d create: Checkpoint 2026-11-21 16:39:39 UTC [3ee9e5847f]
MemRelay-Operation: checkpoint-save:uiframe-ckpt-20261122-qt-rust-demo
MemRelay-Resource: fdd30c12-76d5-41fe-8b1e-2bca21583b1a
2026-11-22 00:39:43 +08:00

1.2 KiB
Raw Blame History

title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
title type permalink stable_id scope memory_type project_id usage_profile_id status revision request_id created_at updated_at tags
Checkpoint 2026-11-21 16:39:39 UTC [3ee9e5847f] checkpoint main/projects/0017cd22-9dea-4f87-9595-fc050356ff3c/checkpoint-2026-11-21-16-39-39-utc-3ee9e5847f fdd30c12-76d5-41fe-8b1e-2bca21583b1a project checkpoint 0017cd22-9dea-4f87-9595-fc050356ff3c 0c9feb46-d06e-43cd-9ef0-c5813c84a998 active 1 uiframe-ckpt-20261122-qt-rust-demo 2026-11-21T16:39:39.769173+00:00 2026-11-21T16:39:39.769173+00:00
ui
qt
rust
demo

已在 E:\code\UIFrame\qt\rust 写好 Rust + Qt 6.12 Widgets 例程,并用 MSVC 编译通过,窗口能启动。

结构:src/main.rs 启动;src/bridge.rs 是 cxx-qt 桥;src/logic.rs 用 Rust 读写控件;src/theme.rs 是三套 QSS;cpp/demo_ui.cpp 创建按钮、编辑框、密码框、日期、时间、列表、树、分组框、分页夹。换肤由 Rust 整份替换样式表并重新 polish。

运行需要 QMAKE 指向 D:\Qt\App\6.12.0\msvc2022_64\bin\qmake.exe,并把该 bin 加进 PATH。已写 qt/rust/run.ps1 和 .cargo/config.toml。安装目录是 D:\Qt\App。