You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqtinterface/qtinterface/tqt-replace-stream-tqt3.cmake

9 lines
199 B

#!/bin/bash
QT_VERSION=@QT_VERSION@
if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace-stream <filename>"
else
cat "$1" | sed 's/^Q_OBJECT/TQ_OBJECT/g' | sed 's/\([^T]\)Q_OBJECT/\1TQ_OBJECT/g'
fi