mkqrc.sh@993c46d7eb75
mkqrc.sh
Sun, 08 May 2016 20:12:54 +0300
- author
- Teemu Piippo <teemu@compsta2.com>
- date
- Sun, 08 May 2016 20:12:54 +0300
- changeset 1036
- 993c46d7eb75
- parent 455
-
c5d14d112034
- permissions
- -rwxr-xr-x
Replaced the ugly for_enum macro with a generator class
Fixed: qHash(const Vertex&) got sucked into infinite recursion
#!/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