Errors in Rust memory game example? #2493
Replies: 1 comment 1 reply
-
I'm on rustc 1.66.1 (90743e729 2023-01-10) and i cant get this thing to compile either i got through the thing where i can see multiple items and open and close them but when it comes to 'checking if there is more than one open and preventing that', its not compiling What i found as a workaround --- just
you can do the same in the other directories like energy-monitor. i even got a wrning that QT was the wrong version but it still ran anyways. i dont even know how it works. but it is definitely worth pushing through the issues because it looks really quite nice. this also works:
what does not work is the standard note - it also takes like, a few gigs of RAM during build and like maybe 8-ish gigabytes of disk space for all dependencies. the tutorial appears broken, im thinking maybe the tutorial could be somehow integrated with the example directory so it would be part of the continuous integration/testing. not sure of the best way to do that tho |
Beta Was this translation helpful? Give feedback.
-
In the code at https://slint-ui.com/releases/1.0.0/docs/tutorial/rust/polishing_the_tile.html I had to change
to
Otherwise, the tiles would look like this when the application starts:
This is on a Fedora Linux 37.
The code at https://slint-ui.com/releases/1.0.0/docs/tutorial/rust/creating_the_tiles_from_rust.html makes Rust refuse to compile:
This is with Rust 1.68.2.
Beta Was this translation helpful? Give feedback.
All reactions