Skip to content

Commit 3f92516

Browse files
committed
Follow sibling binary renames and rename m4b harness to mps_tests_m4b_hello.
Resolve qte_engine / qfr_ribbon (QFluentRibbon::ribbon) for demos; drop obsolete QFR_DEV_EMBED flag from install_stack.
1 parent a729ecb commit 3f92516

13 files changed

Lines changed: 31 additions & 32 deletions

clients/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ python test_frame_envelope.py
2525
## 对接 Host / 烟测 harness
2626

2727
需本机有一个 `QLocalServer``--endpoint` 上监听,并在收到 `Hello` 后回 `HelloAck`
28-
CMake 目标 `mps_m4b_python_hello`(需 Qt)会拉起本脚本并完成握手。
28+
CMake 目标 `mps_tests_m4b_hello`(需 Qt)会拉起本脚本并完成握手。
2929

3030
手动:
3131

cmake/MPSQFluentRibbon.cmake

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ set(MPS_QFR_SOURCE_DIR "" CACHE PATH "Path to QFluentRibbon sources when MPS_DEV
66
set(_mps_have_qfr FALSE)
77
set(MPS_QFR_VIA_SOURCE FALSE)
88

9-
if(TARGET QFluentRibbon::qfluentribbon OR TARGET qfluentribbon)
9+
if(TARGET QFluentRibbon::ribbon OR TARGET qfr_ribbon)
1010
set(_mps_have_qfr TRUE)
1111
else()
1212
find_package(QFluentRibbon CONFIG QUIET)
13-
if(TARGET QFluentRibbon::qfluentribbon)
13+
if(TARGET QFluentRibbon::ribbon)
1414
set(_mps_have_qfr TRUE)
15-
message(STATUS "MultiProcessShell demos: using installed QFluentRibbon::qfluentribbon")
15+
message(STATUS "MultiProcessShell demos: using installed QFluentRibbon::ribbon")
1616
endif()
1717
endif()
1818

@@ -24,7 +24,7 @@ if(NOT _mps_have_qfr AND MPS_DEV_EMBED_QFR)
2424
set(QFR_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
2525
set(QFR_BUILD_TESTS OFF CACHE BOOL "" FORCE)
2626
set(QFR_INSTALL OFF CACHE BOOL "" FORCE)
27-
add_subdirectory("${MPS_QFR_SOURCE_DIR}" "${CMAKE_BINARY_DIR}/_deps/qfluentribbon" EXCLUDE_FROM_ALL)
27+
add_subdirectory("${MPS_QFR_SOURCE_DIR}" "${CMAKE_BINARY_DIR}/_deps/qfr" EXCLUDE_FROM_ALL)
2828
set(_mps_have_qfr TRUE)
2929
set(MPS_QFR_VIA_SOURCE TRUE)
3030
message(STATUS "MultiProcessShell demos: DEV embed QFluentRibbon from ${MPS_QFR_SOURCE_DIR}")
@@ -38,8 +38,8 @@ if(NOT _mps_have_qfr)
3838
" Or: -DMPS_DEV_EMBED_QFR=ON [-DMPS_QFR_SOURCE_DIR=...]")
3939
endif()
4040

41-
if(TARGET QFluentRibbon::qfluentribbon)
42-
set(MPS_QFR_TARGET QFluentRibbon::qfluentribbon)
41+
if(TARGET QFluentRibbon::ribbon)
42+
set(MPS_QFR_TARGET QFluentRibbon::ribbon)
4343
else()
44-
set(MPS_QFR_TARGET qfluentribbon)
44+
set(MPS_QFR_TARGET qfr_ribbon)
4545
endif()

cmake/MPSQThemeEngine.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(MPS_QTE_SOURCE_DIR "" CACHE PATH "Path to QThemeEngine sources when MPS_DEV_
66
set(_mps_have_qte FALSE)
77
set(MPS_QTE_VIA_SOURCE FALSE)
88

9-
if(TARGET QThemeEngine::engine OR TARGET qtheme_engine)
9+
if(TARGET QThemeEngine::engine OR TARGET qte_engine)
1010
set(_mps_have_qte TRUE)
1111
else()
1212
find_package(QThemeEngine CONFIG QUIET)
@@ -42,5 +42,5 @@ endif()
4242
if(TARGET QThemeEngine::engine)
4343
set(MPS_QTE_TARGET QThemeEngine::engine)
4444
else()
45-
set(MPS_QTE_TARGET qtheme_engine)
45+
set(MPS_QTE_TARGET qte_engine)
4646
endif()

demos/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if(WIN32 AND MPS_BUILD_SHARED)
6666
endif()
6767
add_custom_command(TARGET mps_demo_host POST_BUILD
6868
${_mps_demo_dll_copy_cmds}
69-
COMMENT "Copy mps_*.dll + protobuf runtime + qtheme_engine + qfluentribbon beside demos"
69+
COMMENT "Copy mps_*.dll + protobuf runtime + qte_engine + qfr_ribbon beside demos"
7070
VERBATIM
7171
)
7272
endif()

docs/en/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
## Architecture
66

7-
Framework DLLs are independent: `qtheme_engine`, `qfluentribbon`, and `mps_*` do **not** link each other. Demos compose them (`mps_demo_host`→QTE, `mps_demo_client`→QFR+QTE).
7+
Framework DLLs are independent: `qte_engine`, `qfr_ribbon`, and `mps_*` do **not** link each other. Demos compose them (`mps_demo_host`→QTE, `mps_demo_client`→QFR+QTE).
88

99
```bat
1010
set QTDIR=D:\Codes\Qt6.8.4

docs/en/demo-acceptance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ Manual regression. Finish this list before later polish (tab overflow, REQ timeo
6868
## M4b (multi-language Hello, optional)
6969

7070
- [ ] `python clients/python/test_frame_envelope.py` passes
71-
- [ ] `ctest -R M4bPythonHello` (or `mps_m4b_python_hello`) passes: Python `Hello(EMBED_NONE)``HelloAck`
71+
- [ ] `ctest -R M4bPythonHello` (or `mps_tests_m4b_hello`) passes: Python `Hello(EMBED_NONE)``HelloAck`

docs/en/dev-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Scan top recommendation: ~~**wid → embed** first~~ **done**; peel Shell rules
3737

3838
| Direction | Posture |
3939
|-----------|---------|
40-
| ~~M4b Python Hello~~ | **Done**`hello_client.py`, offline `test_frame_envelope.py`, Qt harness `mps_m4b_python_hello` |
40+
| ~~M4b Python Hello~~ | **Done**`hello_client.py`, offline `test_frame_envelope.py`, Qt harness `mps_tests_m4b_hello` |
4141
| M5 tear-out / merge | **Closable** (G1/G4 fixed; G2/G3 Demo Client no-op) — [gap audit](../zh/m5-gap-audit.md) |
4242
| ~~M6 heartbeat / unhealthy UI~~ | **Done**`heartbeat_policy.hpp`; Client 2s EVT; Host 6s Unhealthy; tab suffix + terminate |
4343
| x11 / inproc / multi-client | `IEmbedBackend` next (`wid` already localized) |

docs/zh/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
|| 依赖 |
88
|----|------|
9-
| `qtheme_engine` | 仅 Qt |
10-
| `qfluentribbon` | 仅 Qt(本地 `ribbon_tokens`;不链 QTE) |
9+
| `qte_engine` | 仅 Qt |
10+
| `qfr_ribbon` | 仅 Qt(本地 `ribbon_tokens`;不链 QTE) |
1111
| `mps_*` | Qt + protobuf(不链 QTE/QFR) |
1212

13-
QTE / QFR 仅由 **Demo** 链接:`mps_demo_host`→QTE,`mps_demo_client`→QFR+QTE`qfr_gallery`→QFR+QTE
13+
QTE / QFR 仅由 **Demo** 链接:`mps_demo_host`→QTE,`mps_demo_client`→QFR+QTE。
1414

1515
## 推荐:本地 prefix
1616

docs/zh/demo-acceptance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@
6969
## M4b(多语言 Hello,可选)
7070

7171
- [ ] `python clients/python/test_frame_envelope.py` 通过
72-
- [ ] `ctest -R M4bPythonHello`(或跑 `mps_m4b_python_hello`)通过:Python `Hello(EMBED_NONE)` ↔ Host 侧 `HelloAck`
72+
- [ ] `ctest -R M4bPythonHello`(或跑 `mps_tests_m4b_hello`)通过:Python `Hello(EMBED_NONE)` ↔ Host 侧 `HelloAck`

docs/zh/dev-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
| 方向 | 建议姿态 |
4747
|------|----------|
48-
| ~~M4b Python Hello~~ | **完成**`hello_client.py` + 离线 `test_frame_envelope.py` + Qt 烟测 `mps_m4b_python_hello` |
48+
| ~~M4b Python Hello~~ | **完成**`hello_client.py` + 离线 `test_frame_envelope.py` + Qt 烟测 `mps_tests_m4b_hello` |
4949
| M5 拖出 / 合入 | **可关账**(G1/G4 已修;G2/G3 Demo Client no-op)— [m5-gap-audit.md](m5-gap-audit.md) |
5050
| ~~M6 心跳 / 无响应 UI~~ | **完成**`heartbeat_policy.hpp`;Client 2s EVT;Host 6s Unhealthy;Tab 后缀 + 右键终止 |
5151
| x11 / inproc / 多类型 Client | 前:~~wid 后置 +~~ `IEmbedBackend`(wid 已后置) |

0 commit comments

Comments
 (0)