summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-stream.cmake
diff options
context:
space:
mode:
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 a436ce4..ea269d0 100755
--- a/qtinterface/tqt-replace-stream.cmake
+++ b/qtinterface/tqt-replace-stream.cmake
@@ -9,7 +9,8 @@ else
sed 's/^TQ\([^T_]\)/Q\1/g' | \
sed 's/\([^_]\)TQ\([^T_]\)/\1Q\2/g' | \
sed 's/TQT\([^_]\)/QT\1/g' | \
- sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g'
+ sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g' | \
+ sed 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g'
fi
if [[ $QT_VERSION == 4 ]]; then