blob: 618f399786d7d4490e47e783992d126fa5e5e70f (
plain)
1
2
3
4
|
#!/bin/sh
# -*- mode: shell-script; sh-shell: bash; sh-indentation: 2 -*-
echo -ne "\n"
for file in `grep "Q_OBJECT" *.h | cut -d: -f1 | cut -d'/' -f3 | xargs echo`; do echo -e "moc_${file%.h}.cpp: $file\n\t@\${MOC} $file -o moc_${file%.h}.cpp\n"; done
|