mkqrc.sh

Sun, 08 Sep 2013 22:57:06 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 08 Sep 2013 22:57:06 +0300
changeset 34
cf0dfddf30f7
parent 30
6b82f6a3ad53
permissions
-rwxr-xr-x

tag 0.1 beta

#!/bin/bash

QRCFILE=zcinema.qrc
FILES=$(echo ./icons/*.* LICENSE)

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

mercurial