summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-tqt3.cmake
blob: 8d69a5fd6a2d5509d5d98815c5fef8ff1121ce22 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
QT_VERSION=@QT_VERSION@

if [[ "$1" == "" ]]; then
	echo "Usage: tqt-replace <input_file>"
else
	sed -i 's/Q_SLOTS>/slots>/g' "$1"
	sed -i 's/Q_SIGNALS>/signals>/g' "$1"
	exit 0
fi