mkqrc.sh@335d929c673e
mkqrc.sh
Mon, 05 May 2014 16:50:36 +0300
- author
- Santeri Piippo <crimsondusk64@gmail.com>
- date
- Mon, 05 May 2014 16:50:36 +0300
- changeset 764
- 335d929c673e
- parent 455
-
c5d14d112034
- permissions
- -rwxr-xr-x
- when an object is deleted, if it's the renderer's object-under-cursor the field needs to be cleared or ldforge 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