mkqrc.sh

changeset 19
c9b6dd9dd4cd
child 30
6b82f6a3ad53
equal deleted inserted replaced
18:6bf57b4f42cd 19:c9b6dd9dd4cd
1 #!/bin/bash
2
3 QRCFILE=zandemo.qrc
4 FILES=$(echo ./icons/*.* LICENSE)
5
6 printf "" > $QRCFILE
7
8 printf "<!DOCTYPE RCC>\n<RCC version=\"1.0\">\n<qresource>\n" >> $QRCFILE
9
10 for f in $FILES; do
11 printf "\t<file>$f</file>\n" >> $QRCFILE
12 done
13
14 printf "</qresource>\n</RCC>\n" >> $QRCFILE

mercurial