update_qrc 279 B

123456789101112131415
  1. #!/bin/bash
  2. set -e
  3. for d in qml images
  4. do
  5. (
  6. cd $d
  7. echo "<RCC>"
  8. echo " <qresource prefix=\"/\">"
  9. find * -type f \! -name '*.qrc' -a \! -name '*~' -a \! -name '*.new' -printf " <file>%p</file>\n"
  10. echo " </qresource>"
  11. echo "</RCC>"
  12. ) >$d/$d.qrc
  13. done