21 lines
843 B
Markdown
21 lines
843 B
Markdown
# QFT Windows v0.2.2 build fix
|
|
|
|
This patch fixes the five `cargo check` errors reported against eframe/egui 0.35.0.
|
|
|
|
## Fixed
|
|
|
|
1. Added semicolons after `ui.small(...)` calls that were used as the final expression of `if/else` blocks. `ui.small()` returns `egui::Response`, while those blocks must evaluate to `()`.
|
|
2. Removed the obsolete `Context::style()` and `Context::set_style()` calls. Those APIs are not available in egui 0.35.
|
|
3. Preserved the intended spacing by applying it through `Ui::spacing_mut()` inside `eframe::App::ui`.
|
|
4. Bumped Windows application/package version to 0.2.2.
|
|
|
|
## Verify on Windows
|
|
|
|
```powershell
|
|
cd E:\tools\qft_win_android_mvp\windows
|
|
cargo check
|
|
cargo run --release
|
|
```
|
|
|
|
The Android/Windows transfer protocol, Wi-Fi Direct pairing flow, receiver service and optical transport are unchanged by this patch.
|