summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-stream.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-27 21:56:52 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-27 21:56:52 +0000
commite70558cf0adab0c4395abaa9d147fd5c5d9eacc8 (patch)
treeff9a4e7dec28e428ecc1415cfb59f96f337cdbba /qtinterface/tqt-replace-stream.cmake
parentbe540072adcf609548f7f72ad17a47c6c6899276 (diff)
downloadtqtinterface-e70558cf0adab0c4395abaa9d147fd5c5d9eacc8.tar.gz
tqtinterface-e70558cf0adab0c4395abaa9d147fd5c5d9eacc8.zip
[cmake] reworked tqtinterface build system
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1226235 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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' | \