summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqt-replace.cmake')
-rwxr-xr-xqtinterface/tqt-replace.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtinterface/tqt-replace.cmake b/qtinterface/tqt-replace.cmake
index 66c8f57..7f28f05 100755
--- a/qtinterface/tqt-replace.cmake
+++ b/qtinterface/tqt-replace.cmake
@@ -1,10 +1,10 @@
#!/bin/bash
-QT_VER=@QT_VER@
+QT_VERSION=@QT_VERSION@
if [[ $1 == "" ]]; then
echo "Usage: tqt-replace <input_file>"
else
- if [[ $QT_VER == 3 ]]; then
+ if [[ $QT_VERSION == 3 ]]; then
sed -i 's/TQ\([^T]\)/Q\1/g' "$1"
sed -i 's/TQT\([^_]\)/QT\1/g' "$1"
sed -i 's/Q_SLOTS>/slots>/g' "$1"
@@ -12,7 +12,7 @@ else
exit 0
fi
- if [[ $QT_VER == 4 ]]; then
+ if [[ $QT_VERSION == 4 ]]; then
sed -i 's/TQAccel/Q3Accel/g' "$1"
sed -i 's/TQAccessible/QAccessible/g' "$1"
sed -i 's/TQAccessibleObject/QAccessibleObject/g' "$1"