mkqrc.sh@f82ab4d3c7b4
mkqrc.sh
Mon, 02 Jun 2014 12:50:40 +0300
- author
- Santeri Piippo <crimsondusk64@gmail.com>
- date
- Mon, 02 Jun 2014 12:50:40 +0300
- changeset 784
- f82ab4d3c7b4
- parent 455
-
c5d14d112034
- permissions
- -rwxr-xr-x
- made LDDocument use shared pointers, this eliminates a lot of document-related crashes
#!/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