Remove tqt-replace, uic-tqt and moc-tqt tools

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/38/head
Michele Calgaro 10 months ago
parent 233aee46f5
commit 2b8afac3e7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -98,15 +98,11 @@ install( FILES
##### tqt tools #################################
configure_file( ${IFACE}/tmoc.cmake tmoc @ONLY )
configure_file( uic-tqt.cmake uic-tqt @ONLY )
configure_file( tqt-replace-tqt3.cmake tqt-replace @ONLY )
install( PROGRAMS
moc-tqt ${CMAKE_CURRENT_BINARY_DIR}/uic-tqt
mcopidl-tqt dcopidl-tqt dcopidlng-tqt
dcopidl2cpp-tqt convert_qt_tqt1 convert_qt_tqt2
convert_qt_tqt3 ${CMAKE_CURRENT_BINARY_DIR}/tmoc
${CMAKE_CURRENT_BINARY_DIR}/tqt-replace
DESTINATION ${BIN_INSTALL_DIR} )

@ -4,7 +4,6 @@ if [[ $1 == "" ]]; then
echo "Usage: dcopidl-tqt <dcopidl_binary> <input_file>"
else
cp -Rp $2 $2.bkp
# tqt-replace $2
$1 $2
cp -Rp $2.bkp $2
rm -f $2.bkp

@ -13,7 +13,6 @@ else
for curfile in $INPUT_FILES
do
cp -Rp "$curfile" "$curfile.bkp"
# tqt-replace "$curfile"
done
# Execute the dcopidl2cpp command

@ -4,7 +4,6 @@ if [[ $1 == "" ]]; then
echo "Usage: dcopidlng-tqt <dcopidlng_binary> <options> <input_file>"
else
cp -Rp ${BASH_ARGV[0]} ${BASH_ARGV[0]}.bkp
# tqt-replace ${BASH_ARGV[0]}
$@
cp -Rp ${BASH_ARGV[0]}.bkp ${BASH_ARGV[0]}
rm -f ${BASH_ARGV[0]}.bkp

@ -4,7 +4,6 @@ if [[ $1 == "" ]]; then
echo "Usage: mcopidl-tqt <mcopidl_binary> <options> <input_file>"
else
cp -Rp ${BASH_ARGV[0]} ${BASH_ARGV[0]}.bkp
# tqt-replace ${BASH_ARGV[0]}
$@
cp -Rp ${BASH_ARGV[0]}.bkp ${BASH_ARGV[0]}
rm -f ${BASH_ARGV[0]}.bkp

@ -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…
Cancel
Save