Skip to content

Commit c397389

Browse files
committed
Document rfd dependencies in readme
1 parent 542db29 commit c397389

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ https://woelper.github.io/egui_pick_file/
1717

1818
For native:
1919

20+
On linux install dependencies of [rfd](https://docs.rs/rfd/latest/rfd/index.html) as applicable.
21+
Copied from https://docs.rs/rfd/latest/rfd/#linux--bsd-backends
22+
23+
> GTK backend is used with the `gtk3` Cargo feature which is enabled by default. The GTK3
24+
> backend requires the C library and development headers to be installed to build RFD. The package
25+
> names on various distributions are:
26+
> | Distribution | Installation Command |
27+
> | --------------- | ------------ |
28+
> | Fedora | dnf install gtk3-devel |
29+
> | Arch | pacman -S gtk3 |
30+
> | Debian & Ubuntu | apt install libgtk-3-dev |
31+
2032
`cargo run`
2133

2234
For web:

0 commit comments

Comments
 (0)