github.com/mit-dci/lit@v0.0.0-20221102210550-8c3d3b49f2ce/cmd/lit-qt/qt_files/compile_ui.sh (about) 1 #!/bin/bash 2 3 for ui_file in *.ui; do 4 #Run `pyuic4` through all of the .ui files, with output files 5 # of the base name with "_ui.py" appended. 6 pyuic4 $ui_file -o ${ui_file%.ui}_ui.py 7 done