Document prerequisites for the GUI

This commit is contained in:
Joerg Wunsch
2024-08-13 22:36:50 +02:00
parent d55a7901c4
commit 31a6b48dc0
3 changed files with 12 additions and 0 deletions

View File

@@ -68,5 +68,6 @@ For more information, refer to the [AVRDUDE documentation](https://avrdudes.gith
Starting with version 8, a GUI implementation has been added, to demonstrate the functionality of `libavrdude` is suitable to implement a native GUI (as opposed to CLI wrapper).
The GUI is based on the Qt toolkit and its Python bindings, called _PySide_.
Either Qt5 with PySide2, or Qt6 with PySide6 are supported.
A script named `avrdude-gui` is installed into the same location as the AVRDUDE CLI program. It can be used to start the GUI. There is a builtin help describing the usage.

View File

@@ -1 +1,6 @@
rem Wrapper around the AVRDUDE Qt / PySide GUI
rem
rem Prerequisites:
rem * python3
rem * Qt5 / PySide2, or Qt6 / PySide6
"@Python3_EXECUTABLE@" "@CMAKE_INSTALL_PREFIX@\@CMAKE_INSTALL_DATADIR@\avrdude\adgui.py"

View File

@@ -1,4 +1,10 @@
#!/bin/sh
#
# Wrapper around the AVRDUDE Qt / PySide GUI
#
# Prerequisites:
# * python3
# * Qt5 / PySide2, or Qt6 / PySide6
if [ ! -d "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATADIR@/avrdude" ] ; then
echo "Installation directory @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATADIR@/avrdude missing" >&2