aboutsummaryrefslogtreecommitdiff
path: root/rcc_format/gen-resources.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rcc_format/gen-resources.sh')
-rwxr-xr-xrcc_format/gen-resources.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/rcc_format/gen-resources.sh b/rcc_format/gen-resources.sh
new file mode 100755
index 0000000..a1db9fd
--- /dev/null
+++ b/rcc_format/gen-resources.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo '<RCC>'
+echo ' <qresource prefix="/icons">'
+for f in $@; do
+ echo ' <file alias="'$(basename $f)'">'$f'</file>';
+done
+echo ' </qresource>'
+echo '</RCC>'