mkqrc.sh

changeset 19
c9b6dd9dd4cd
child 30
6b82f6a3ad53
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mkqrc.sh	Sun Aug 11 16:08:13 2013 +0300
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+QRCFILE=zandemo.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