You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Prevent console window in addition to Slint window in Windows release builds when, e.g., starting the app via file manager. Ignored on other platforms.#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
slint::include_modules!();fnmain() -> Result<(),Box<dyn std::error::Error>>{let ui = AppWindow::new()?;
ui.run()?;Ok(())}
error[E0425]: cannot find value `tmp_root_1_changes_log` in this scope
--> /.../target/debug/build/project-3091f44e836850bc/out/app-window.rs:711:66
|
711 | ... (match & r#tmp_root_1_changes_log . clone () {
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `tmp_log_3_selected` in this scope
--> /.../target/debug/build/project-3091f44e836850bc/out/app-window.rs:713:47
|
713 | ... let index = (r#tmp_log_3_selected . clone ()) as usize ;
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0425`.
error: could not compile `project` (bin "project") due to 2 previous errors
this error seems to take place in the generated rust code.
system
cargo --version
->cargo 1.81.0 (2dbb1af80 2024-08-20)
rustup --version
->rustc 1.81.0 (eeb90cda1 2024-09-04)
slint = "1.8.0"
code
build.rs
src/main.rs
ui/app-window.slint
problem
running
cargo build
generates the error:this error seems to take place in the generated rust code.
working alternatives
root.request-change-delta(changes_log[log.selected])
expected behavior
either:
The text was updated successfully, but these errors were encountered: