2020-11-28 14:26:46 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
2020-12-08 09:47:41 +01:00
|
|
|
for file in ./src/gui/ui/*.ui
|
2020-11-28 14:26:46 +01:00
|
|
|
do
|
2020-12-08 09:47:41 +01:00
|
|
|
echo "$file"
|
|
|
|
[[ -e "$file" ]] || break
|
|
|
|
output_file="$(basename -s .ui "$file")"
|
2020-11-28 14:26:46 +01:00
|
|
|
|
2020-12-08 09:47:41 +01:00
|
|
|
echo "$output_file";
|
|
|
|
pipenv run python -m PyQt5.uic.pyuic -x "$file" -o ./src/python/ui/"$output_file"'_ui.py';
|
2020-11-28 14:26:46 +01:00
|
|
|
done;
|