Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>pull/38/head
parent
233aee46f5
commit
2b8afac3e7
@ -1,11 +0,0 @@
|
||||
#!/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
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
QT_VERSION=@QT_VERSION@
|
||||
|
||||
if [[ "$1" == "" ]]; then
|
||||
echo "Usage: tqt-replace <input_file>"
|
||||
else
|
||||
sed -i 's/Q_SLOTS>/slots>/g' "$1"
|
||||
sed -i 's/Q_SIGNALS>/signals>/g' "$1"
|
||||
exit 0
|
||||
fi
|
@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $1 == "" ]]; then
|
||||
echo "Usage: uic-tqt <uic arguments>"
|
||||
else
|
||||
for var in "$@"
|
||||
do
|
||||
if [[ ${var##*.} == "ui" ]]; then
|
||||
uifile=$var
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "$uifile" != "" ]]; then
|
||||
cp -Rp $uifile $uifile.bkp
|
||||
tqt-replace $uifile
|
||||
fi
|
||||
@UIC_EXECUTABLE@ "$@"
|
||||
if [[ "$uifile" != "" ]]; then
|
||||
cp -Rp $uifile.bkp $uifile
|
||||
rm -f $uifile.bkp
|
||||
fi
|
||||
fi
|
Loading…
Reference in new issue