diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-27 20:19:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-27 20:19:31 +0900 |
commit | c753c65cf7616665d669ea169c875c60eab69e51 (patch) | |
tree | a0814b9cb714abec02c37ef21ff90afdd946817d /qtinterface/interface_qt3/tmoc.cmake | |
parent | e9596b5b63d8c4303da0b50e63c0056899dafb27 (diff) | |
download | tqtinterface-c753c65c.tar.gz tqtinterface-c753c65c.zip |
Dropped unused code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtinterface/interface_qt3/tmoc.cmake')
-rwxr-xr-x | qtinterface/interface_qt3/tmoc.cmake | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/qtinterface/interface_qt3/tmoc.cmake b/qtinterface/interface_qt3/tmoc.cmake deleted file mode 100755 index 5321484..0000000 --- a/qtinterface/interface_qt3/tmoc.cmake +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# -# Very simple moc wrapper, for using with cmake -# - -if [ -f @BIN_INSTALL_DIR@/tqt-replace-stream ]; then - if [ -z "$1" ]; then - echo "Usage: tmoc <input_file> -o <out_file>" - else - input_file="$1" - out_file="$3" - @BIN_INSTALL_DIR@/tqt-replace-stream "${input_file}" | \ - @MOC_EXECUTABLE@ | \ - sed "/#include <qmetaobject.h>/ i\\ -#undef QT_NO_COMPAT\\ -#include \"${input_file}\"\\ -" \ - > "${out_file}" - fi -else - echo "ERROR: @BIN_INSTALL_DIR@/tqt-replace-stream is not available. tmoc will fail!" - exit 1; -fi |