mkqrc.sh@ec3ee7da7806
mkqrc.sh
Thu, 09 Feb 2017 19:57:43 +0200
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Thu, 09 Feb 2017 19:57:43 +0200
- changeset 1110
- ec3ee7da7806
- parent 455
-
c5d14d112034
- permissions
- -rwxr-xr-x
Moved more business logic out of GLRenderer into Canvas. GLRenderer::pick(const QRange&) now returns a set of LDObjects without modifying them. Replaced the GLRenderer::pick(int, int) overload with GLRenderer::pickOneObject.
#!/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