summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-19 01:00:13 -0600
committerTimothy Pearson <[email protected]>2012-01-19 01:00:13 -0600
commitdc60c953d272cb104936c9c056b3101975f52ea8 (patch)
tree140fe389f102c9521e3dc6834ac4f7573300133d /qtinterface/tqt-replace
parent458e74a6c9ad16499ab16ca4b0863bf03c4a78e4 (diff)
downloadtqtinterface-dc60c953d272cb104936c9c056b3101975f52ea8.tar.gz
tqtinterface-dc60c953d272cb104936c9c056b3101975f52ea8.zip
Fix FTBFS in certain packages due to incorrect tqApp mangling
This partially resolves Bug 604
Diffstat (limited to 'qtinterface/tqt-replace')
-rwxr-xr-xqtinterface/tqt-replace1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtinterface/tqt-replace b/qtinterface/tqt-replace
index ee1f016..5afceb4 100755
--- a/qtinterface/tqt-replace
+++ b/qtinterface/tqt-replace
@@ -11,6 +11,7 @@ else
sed -i 's/Q_SLOTS>/slots>/g' "$1"
sed -i 's/Q_SIGNALS>/signals>/g' "$1"
sed -i 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g' "$1"
+ sed -i 's/tqApp/qApp/g' "$1"
sed -i 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g' "$1"
sed -i 's/TQ_PROPERTY/Q_PROPERTY/g' "$1"
sed -i 's/TQ_ENUMS/Q_ENUMS/g' "$1"