DioxusLabs / dioxus

Fullstack GUI library for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
19.35k stars 740 forks source link

0.5 alpha 2, desktop target, "could not find `Desktop` in `dioxus`" in example app #2153

Closed osenvosem closed 3 months ago

osenvosem commented 3 months ago

Problem

rustc: failed to resolve: could not find `Desktop` in `dioxus`
could not find `Desktop` in `dioxus` [E0433]

Steps To Reproduce

Steps to reproduce the behavior:

Expected behavior

No errors

Screenshots

Screenshot 2024-03-27 at 14 03 24

If applicable, add screenshots to help explain your problem.

Environment:

osenvosem commented 3 months ago

It seems like dioxus::Desktop was renamed to dioxus::desktop