mkqrc.sh

Sun, 29 Jan 2017 15:25:26 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 29 Jan 2017 15:25:26 +0200
changeset 1075
711c5fff384d
parent 455
c5d14d112034
permissions
-rwxr-xr-x

Removed the AddObjectDialog. Garbage code that absolutely needs to be reimplemented.

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