summaryrefslogtreecommitdiffstats
path: root/qtinterface
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-07 16:53:05 +0900
committerMichele Calgaro <[email protected]>2024-02-07 16:53:05 +0900
commit2b8afac3e7a0cca1fb9e371562a8449ffbf575d2 (patch)
tree527822b037feffb33e846ee5844d5f3d7d87caaf /qtinterface
parent233aee46f57861eceff8e6ad7b38a2e79f2d62c8 (diff)
downloadtqtinterface-2b8afac3e7a0cca1fb9e371562a8449ffbf575d2.tar.gz
tqtinterface-2b8afac3e7a0cca1fb9e371562a8449ffbf575d2.zip
Remove tqt-replace, uic-tqt and moc-tqt tools
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'qtinterface')
-rw-r--r--qtinterface/CMakeLists.txt4
-rwxr-xr-xqtinterface/dcopidl-tqt1
-rwxr-xr-xqtinterface/dcopidl2cpp-tqt1
-rwxr-xr-xqtinterface/dcopidlng-tqt1
-rwxr-xr-xqtinterface/mcopidl-tqt1
-rwxr-xr-xqtinterface/moc-tqt11
-rwxr-xr-xqtinterface/tqt-replace-tqt3.cmake10
-rwxr-xr-xqtinterface/uic-tqt.cmake22
8 files changed, 0 insertions, 51 deletions
diff --git a/qtinterface/CMakeLists.txt b/qtinterface/CMakeLists.txt
index 8e88317..af32761 100644
--- a/qtinterface/CMakeLists.txt
+++ b/qtinterface/CMakeLists.txt
@@ -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} )
diff --git a/qtinterface/dcopidl-tqt b/qtinterface/dcopidl-tqt
index ea2443c..35c7bc5 100755
--- a/qtinterface/dcopidl-tqt
+++ b/qtinterface/dcopidl-tqt
@@ -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
diff --git a/qtinterface/dcopidl2cpp-tqt b/qtinterface/dcopidl2cpp-tqt
index e41d002..4f9080a 100755
--- a/qtinterface/dcopidl2cpp-tqt
+++ b/qtinterface/dcopidl2cpp-tqt
@@ -13,7 +13,6 @@ else
for curfile in $INPUT_FILES
do
cp -Rp "$curfile" "$curfile.bkp"
-# tqt-replace "$curfile"
done
# Execute the dcopidl2cpp command
diff --git a/qtinterface/dcopidlng-tqt b/qtinterface/dcopidlng-tqt
index 230f975..2ade87a 100755
--- a/qtinterface/dcopidlng-tqt
+++ b/qtinterface/dcopidlng-tqt
@@ -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
diff --git a/qtinterface/mcopidl-tqt b/qtinterface/mcopidl-tqt
index 3b390c5..35d23e1 100755
--- a/qtinterface/mcopidl-tqt
+++ b/qtinterface/mcopidl-tqt
@@ -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
diff --git a/qtinterface/moc-tqt b/qtinterface/moc-tqt
deleted file mode 100755
index e8c3d53..0000000
--- a/qtinterface/moc-tqt
+++ /dev/null
@@ -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
diff --git a/qtinterface/tqt-replace-tqt3.cmake b/qtinterface/tqt-replace-tqt3.cmake
deleted file mode 100755
index 8d69a5f..0000000
--- a/qtinterface/tqt-replace-tqt3.cmake
+++ /dev/null
@@ -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
diff --git a/qtinterface/uic-tqt.cmake b/qtinterface/uic-tqt.cmake
deleted file mode 100755
index bcf2c58..0000000
--- a/qtinterface/uic-tqt.cmake
+++ /dev/null
@@ -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