mkqrc.sh

Sat, 04 May 2013 04:19:03 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 04 May 2013 04:19:03 +0300
changeset 158
499286fcbf37
child 174
963697b36118
permissions
-rwxr-xr-x

Compile the icon resources to a QRC file, so that they are embedded in the application

#!/bin/bash

QRCFILE=ldforge.qrc
printf "" > $QRCFILE

printf "<!DOCTYPE RCC>\n<RCC version=\"1.0\">\n<qresource>\n" >> $QRCFILE

for img in ./icons/*.* ./docs/*.* LICENSE; do
	printf "\t<file>$img</file>\n" >> $QRCFILE
done

printf "</qresource>\n</RCC>\n" >> $QRCFILE

mercurial