summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-stream.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-13 17:52:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-13 17:52:01 +0000
commitfdcd92f4028a1800c427dee8995984a835ef3146 (patch)
tree108f2bebd19858e7bca9cc1c4b20ddd1fcdf531b /qtinterface/tqt-replace-stream.cmake
parenta0d6439b7fc051c641ca825eab583bbae00f6c78 (diff)
downloadtqtinterface-fdcd92f4028a1800c427dee8995984a835ef3146.tar.gz
tqtinterface-fdcd92f4028a1800c427dee8995984a835ef3146.zip
Fix handling of Q*_OBJECT_NAME strings
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1231734 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqt-replace-stream.cmake')
-rwxr-xr-xqtinterface/tqt-replace-stream.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake
index 6f5f352..49b6d73 100755
--- a/qtinterface/tqt-replace-stream.cmake
+++ b/qtinterface/tqt-replace-stream.cmake
@@ -7,7 +7,8 @@ else
if [[ $QT_VERSION == 3 ]]; then
cat $1 | \
sed 's/TQ\([^T]\)/Q\1/g' | \
- sed 's/TQT\([^_]\)/QT\1/g'
+ sed 's/TQT\([^_]\)/QT\1/g' | \
+ sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g'
fi
if [[ $QT_VERSION == 4 ]]; then