#/bin/sh

UIC=$HOME/dev/qt-dev/qtbase/bin/uic

for F in $(find . -name "*.ui" -type f)
do  
  DIR=$(dirname $F)
  P=${DIR}/ui_$(basename $F .ui).py
  $UIC --generator python $F > $P
  echo $F $P
done 
