mkqrc.sh@cebb7ef54f41
mkqrc.sh
Tue, 13 Feb 2018 14:19:07 +0200
- author
- Santeri Piippo
- date
- Tue, 13 Feb 2018 14:19:07 +0200
- changeset 1240
- cebb7ef54f41
- parent 455
-
c5d14d112034
- permissions
- -rwxr-xr-x
changed Model into an MVC list model and replaced the objects list with a view into the model
#!/bin/bash
QRCFILE=ldforge.qrc
FILES=$(echo ./icons/*.* data/*.* LICENSE LICENSE.icons)
printf "" > $QRCFILE
printf "<!DOCTYPE RCC>\n<RCC version=\"1.0\">\n<qresource>\n" >> $QRCFILE
for f in $FILES; do
printf "\t<file>$f</file>\n" >> $QRCFILE
done
printf "</qresource>\n</RCC>\n" >> $QRCFILE