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.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake
index 3267ce6..6f5f352 100755
--- a/qtinterface/tqt-replace-stream.cmake
+++ b/qtinterface/tqt-replace-stream.cmake
@@ -1,16 +1,16 @@
#!/bin/bash
-QT_VER=@QT_VER@
+QT_VERSION=@QT_VERSION@
if [[ $1 == "" ]]; then
echo "Usage: tqt-replace-stream <filename>"
else
- if [[ $QT_VER == 3 ]]; then
+ if [[ $QT_VERSION == 3 ]]; then
cat $1 | \
sed 's/TQ\([^T]\)/Q\1/g' | \
sed 's/TQT\([^_]\)/QT\1/g'
fi
- if [[ $QT_VER == 4 ]]; then
+ if [[ $QT_VERSION == 4 ]]; then
cat $1 | \
sed 's/TQAccel/Q3Accel/g' | \
sed 's/TQAccessible/QAccessible/g' | \