mkqrc.sh

Mon, 31 Aug 2015 23:18:17 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 31 Aug 2015 23:18:17 +0300
changeset 974
b2fa5f89798a
parent 455
c5d14d112034
permissions
-rwxr-xr-x

Added a GuiUtilities class to contain useful non-MainWindow-related GUI functions

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

mercurial