MagicPodcast/generate_class_files_from_ui_files.sh

13 lines
256 B
Bash
Executable File

#!/bin/bash
for file in ./src/gui/ui/*.ui
do
echo "$file"
[[ -e "$file" ]] || break
output_file="$(basename -s .ui "$file")"
echo "$output_file";
pipenv run python -m PyQt5.uic.pyuic -x "$file" -o ./src/python/ui/"$output_file"'_ui.py';
done;