diff options
Diffstat (limited to 'qtinterface/moc-tqt')
-rwxr-xr-x | qtinterface/moc-tqt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qtinterface/moc-tqt b/qtinterface/moc-tqt new file mode 100755 index 0000000..e8c3d53 --- /dev/null +++ b/qtinterface/moc-tqt @@ -0,0 +1,11 @@ +#!/bin/bash + +if [[ $1 == "" ]]; then + echo "Usage: moc-tqt <moc_binary> <input_file> <output_file>" +else + cp -Rp $2 $2.bkp + tqt-replace $2 + $1 $2 -o $3 + cp -Rp $2.bkp $2 + rm -f $2.bkp +fi |