Improve resource building contrib
@@ -73,16 +73,18 @@ Make sure that the file `napari/resources/icons/res.qrc` has a list of all the i
Finally, compile all the icons for use in the app by calling either
```sh
+# for PySide2 users
pyside2-rcc -o napari/resources/qt.py napari/resources/res.qrc
```
or
```sh
+# for PyQt5 users
pyrcc5 -o napari/resources/qt.py napari/resources/res.qrc
```
-Depending on if you are using `PySide2` or `PyQt5`. Those two commands are automatically installed when
+depending on if you are using `PySide2` or `PyQt5` respectively. Those two commands are automatically installed when
pip installing the respective packages.
Finally inside the autogenerated `napari/resources/icons/qt.py` replace either `PySide2` or `PyQt5` with `qtpy` to ensure compatibility with both packages.
