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.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake
index 2ff69ec..a436ce4 100755
--- a/qtinterface/tqt-replace-stream.cmake
+++ b/qtinterface/tqt-replace-stream.cmake
@@ -7,7 +7,7 @@ else
if [[ $QT_VERSION == 3 ]]; then
cat $1 | \
sed 's/^TQ\([^T_]\)/Q\1/g' | \
- 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'
fi