headersclean: process private modules correctly
Change-Id: I51c8ee0db31b35e1d991411fe0b03da6665e9a84 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
215f137e29
commit
de54d7bb29
@ -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: \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user