Files
QFT/windows/BUILD_0.2.0.md
T
2026-08-10 15:45:04 +08:00

35 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Windows v0.2.0 build / test
```powershell
cd E:\tools\qft_win_android_mvp\windows
cargo check
cargo run --release
```
新增:
- `windows = 0.62.2` / `Devices_WiFiDirect` / `Security_Credentials`
- `serde` / `serde_json`
- `if-addrs`
QFT Direct 真机要求:
- Windows 10/11
- Wi-Fi 已开启
- 适配器/驱动支持 Wi-Fi Direct
- Windows Mobile Hotspot 没有占用 Wi-Fi Direct group-owner 资源
首次使用会在 `%LOCALAPPDATA%\QFT\direct-ap.json` 创建随机 QFT Direct SSID/密码。它用于让 Android 记住同一台电脑的网络身份;每次“启动接收”仍会生成不同的 session token。
如果 QFT Direct 启动失败:
1. 关闭 Windows“移动热点”。
2. 确认 Wi-Fi 开启。
3. 再试一次。
4. 仍失败则在 QFT UI 切到 `当前局域网(备用)`。
如果 Android 已显示连接 QFT Wi-Fi、但无法找到 Windows:
- 允许 qft-windows.exe 通过 Windows Defender Firewall 的**专用网络**。
- Android v0.2.0 会优先探测 QFT Wi-Fi 返回的 gateway,不再依赖固定 Windows IP。