Skip to content

Commit

Permalink
Add tip regarding the NUIT_BACKEND env var
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Sep 5, 2024
1 parent 2394ff3 commit 119957c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ will launch the app with the platform-specific default backend:
| SwiftUI | Adwaita (GTK4) |
| - | - |
| <img src="screenshots/counter-swiftui.png" height="300"> | <img src="screenshots/counter-adwaita.png" height="300"> |

> [!TIP]
> On platforms that support multiple backends you can explicitly choose a backend via the `NUIT_BACKEND` environment variable:
>
> ```sh
> NUIT_BACKEND=adwaita cargo run --example counter
> ```

0 comments on commit 119957c

Please sign in to comment.