mkqrc.sh

changeset 158
499286fcbf37
child 174
963697b36118
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mkqrc.sh	Sat May 04 04:19:03 2013 +0300
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+QRCFILE=ldforge.qrc
+printf "" > $QRCFILE
+
+printf "<!DOCTYPE RCC>\n<RCC version=\"1.0\">\n<qresource>\n" >> $QRCFILE
+
+for img in ./icons/*.* ./docs/*.* LICENSE; do
+	printf "\t<file>$img</file>\n" >> $QRCFILE
+done
+
+printf "</qresource>\n</RCC>\n" >> $QRCFILE
\ No newline at end of file

mercurial