summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-tqt3.cmake
blob: 194d5ac211a0343a84875d976c808eef5ad617cd (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