diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 05:31:59 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 05:31:59 +0000 |
commit | a764d0100ccf16ddc048430a6e41ca968c743fc6 (patch) | |
tree | 148ca1b31742e1fa80a0b39cd0f2b242e1e120f1 /qtinterface/uic-tqt | |
parent | d8f7ca2865452037db51a5186b6732821278ca08 (diff) | |
download | tqtinterface-a764d0100ccf16ddc048430a6e41ca968c743fc6.tar.gz tqtinterface-a764d0100ccf16ddc048430a6e41ca968c743fc6.zip |
Add compatibility with not-yet-released TQt for Qt4 3.4.0 TP2
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1214120 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/uic-tqt')
-rwxr-xr-x | qtinterface/uic-tqt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qtinterface/uic-tqt b/qtinterface/uic-tqt new file mode 100755 index 0000000..b355ade --- /dev/null +++ b/qtinterface/uic-tqt @@ -0,0 +1,18 @@ +#!/bin/bash + +if [[ $1 == "" ]]; then + echo "Usage: uic-tqt <uic arguments>" +else + for var in "$@" + do + if [[ ${var##*.} == "ui" ]]; then + uifile=$var + fi + done + + cp -Rp $uifile $uifile.bkp + tqt-replace $uifile + uic "$@" + cp -Rp $uifile.bkp $uifile + rm -f $uifile.bkp +fi |