headersclean: process private modules correctly

Change-Id: I51c8ee0db31b35e1d991411fe0b03da6665e9a84
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2013-06-28 16:00:13 +02:00 committed by The Qt Project
parent 215f137e29
commit de54d7bb29
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,8 @@ TARGET = tst_headersclean
includes =
for(q, QT) {
qn = $$eval(QT.$${q}.name)
sq = $$replace(q, -private\$, )
qn = $$eval(QT.$${sq}.name)
isEmpty(qn): \
QT -= $$q
else: \

View File

@ -1,3 +1,3 @@
QT = core concurrent network dbus xml sql testlib gui opengl widgets printsupport platformsupport
QT = core concurrent network dbus xml sql testlib gui opengl widgets printsupport platformsupport-private
load(qt_headersclean)
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0