diff options
Diffstat (limited to 'qtinterface/tqt-replace-stream.cmake')
-rwxr-xr-x | qtinterface/tqt-replace-stream.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake index 076c625..2ff69ec 100755 --- a/qtinterface/tqt-replace-stream.cmake +++ b/qtinterface/tqt-replace-stream.cmake @@ -6,7 +6,8 @@ if [[ $1 == "" ]]; then 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_]\)/Q\1/g' | \ sed 's/TQT\([^_]\)/QT\1/g' | \ sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g' fi |