An error occurred while loading the file. Please try again.
-
J-P Nurmi authored
The original dist target no longer copies files around, but merely does the final packaging. It depends on a new recursive distdir target, which handles copying distfiles to the distdir. [ChangeLog][Tools][qmake] Added 'make dist' target for subdirs projects (unix only) Task-number: QTBUG-21910 Change-Id: Ib59139c3fe196caf832d8dcefab484ab91f1f5ce Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
e437d5ff
#!/usr/bin/env python
import re, sys, os
includedMocs = set()
for f in filter(os.path.isfile, sys.argv[1:]):
inBlockComment = False
for line in open(f).readlines():
m = re.search('#include "(moc_\w+.cpp)"', line)
if m:
includedMocs.add(m.group(1))
for moc in includedMocs:
print moc