mkqrc.sh@2f85d4d286e5
mkqrc.sh
Thu, 05 Dec 2013 13:51:52 +0200
- author
- Santeri Piippo <crimsondusk64@gmail.com>
- date
- Thu, 05 Dec 2013 13:51:52 +0200
- changeset 538
- 2f85d4d286e5
- parent 455
-
c5d14d112034
- permissions
- -rwxr-xr-x
- ensured header files' guards start with LDFORGE_
- removed typedef "qchar" (use QChar instead), removed use of short, long and size_t (use int instead)
- use C++11-using syntax instead of typedefs in types.h
#!/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