From 5e266f8f85ead4c33f7a9d227a82b0461df7e09a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 21 Jul 2010 21:18:36 +0000 Subject: Significant upgrades to the TQT system; kdelibs and kdebase now build and run correctly through TQT and Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1152745 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/tqt-replace | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 qtinterface/tqt-replace (limited to 'qtinterface/tqt-replace') diff --git a/qtinterface/tqt-replace b/qtinterface/tqt-replace new file mode 100755 index 0000000..d11e243 --- /dev/null +++ b/qtinterface/tqt-replace @@ -0,0 +1,17 @@ +#!/bin/bash +QT_VER=3 + +if [[ $1 == "" ]]; then + echo "Usage: tqt-replace " +else + if [[ $QT_VER == 3 ]]; then + sed -i 's/TQ\([^T]\)/Q\1/g' "$1" + sed -i 's/TQT\([^_]\)/QT\1/g' "$1" + exit 0 + fi + + if [[ $QT_VER == 4 ]]; then + echo "ERROR: Not Yet Implemented" + exit 1 + fi +fi -- cgit v1.2.1