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
manjasus% cargo run
Compiling pt-launcher v0.1.4 (/home/lenaic/Documents/test/launcher)
error: Unknown property background in LineEdit
--> /home/lenaic/Documents/test/launcher/src/ui/./settings.slint:39:13
|
39 | background: #27323f;
| ^
error: Unknown property border-radius in LineEdit
--> /home/lenaic/Documents/test/launcher/src/ui/./settings.slint:40:13
|
40 | border-radius: 10phx;
| ^
error: Unknown property border-width in LineEdit
--> /home/lenaic/Documents/test/launcher/src/ui/./settings.slint:41:13
|
41 | border-width: 0;
| ^
error: Error occurred
--> src/main.rs:3:1
|
3 | slint::slint!(import { MainWindow } from "src/ui/main.slint";);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `slint::slint` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `MainWindow` in this scope
--> src/main.rs:41:43
|
41 | fn update_discussions(handle: slint::Weak<MainWindow>, posts: Vec<Post>) {
| - ^^^^^^^^^^ not found in this scope
| |
| help: you might be missing a type parameter: `<MainWindow>`
error[E0412]: cannot find type `NewsData` in this scope
--> src/main.rs:43:32
|
41 | fn update_discussions(handle: slint::Weak<MainWindow>, posts: Vec<Post>) {
| - help: you might be missing a type parameter: `<NewsData>`
42 | handle.upgrade_in_event_loop(move |handle| {
43 | let mut news_data: Vec<NewsData> = vec![];
| ^^^^^^^^ not found in this scope
error[E0422]: cannot find struct, variant or union type `NewsData` in this scope
--> src/main.rs:46:24
|
46 | let news = NewsData {
| ^^^^^^^^ not found in this scope
error[E0433]: failed to resolve: use of undeclared type `MainWindow`
--> src/main.rs:11:23
|
11 | let main_window = MainWindow::new();
| ^^^^^^^^^^ use of undeclared type `MainWindow`
Some errors have detailed explanations: E0412, E0422, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `pt-launcher` due to 5 previous errors
The text was updated successfully, but these errors were encountered:
I have this errors while trying to compile:
The text was updated successfully, but these errors were encountered: