diff options
author | Michele Calgaro <[email protected]> | 2024-02-07 16:53:05 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-07 16:53:05 +0900 |
commit | 2b8afac3e7a0cca1fb9e371562a8449ffbf575d2 (patch) | |
tree | 527822b037feffb33e846ee5844d5f3d7d87caaf /qtinterface | |
parent | 233aee46f57861eceff8e6ad7b38a2e79f2d62c8 (diff) | |
download | tqtinterface-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.txt | 4 | ||||
-rwxr-xr-x | qtinterface/dcopidl-tqt | 1 | ||||
-rwxr-xr-x | qtinterface/dcopidl2cpp-tqt | 1 | ||||
-rwxr-xr-x | qtinterface/dcopidlng-tqt | 1 | ||||
-rwxr-xr-x | qtinterface/mcopidl-tqt | 1 | ||||
-rwxr-xr-x | qtinterface/moc-tqt | 11 | ||||
-rwxr-xr-x | qtinterface/tqt-replace-tqt3.cmake | 10 | ||||
-rwxr-xr-x | qtinterface/uic-tqt.cmake | 22 |
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 |