#/bin/sh

RCC=$HOME/dev/qt-dev/qtbase/bin/rcc

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