mkqrc.sh

Sat, 06 Jun 2015 22:26:05 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sat, 06 Jun 2015 22:26:05 +0300
changeset 42
9528f8d06962
parent 30
6b82f6a3ad53
permissions
-rwxr-xr-x

rename config.cpp/h to configwindow.cpp/h

#!/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