Sun, 08 Sep 2013 16:53:31 +0300
use proper names QVariant and QChar instead of ambigous/dumb "var" and "qchar"
19
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
1 | #!/bin/bash |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
2 | |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
3 | QRCFILE=zandemo.qrc |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
4 | FILES=$(echo ./icons/*.* LICENSE) |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
5 | |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
6 | printf "" > $QRCFILE |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
7 | |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
8 | printf "<!DOCTYPE RCC>\n<RCC version=\"1.0\">\n<qresource>\n" >> $QRCFILE |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
9 | |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
10 | for f in $FILES; do |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
11 | printf "\t<file>$f</file>\n" >> $QRCFILE |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
12 | done |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
13 | |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
14 | printf "</qresource>\n</RCC>\n" >> $QRCFILE |