summaryrefslogtreecommitdiffstats
path: root/src/testlib/testlib.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-06-25 17:18:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-26 11:51:34 +0200
commit34cb86d46b5cebed14bbb8c5e4143447025e9094 (patch)
tree8b52d50631c841871dfb3a6bd6e43aaca98d1401 /src/testlib/testlib.pro
parent1cb7979e0b96514a277e0178340e84ff8f3a3b28 (diff)
make using testlib automatically "promote" all modules to -private
autotests often need private headers (especially with qpa headers now being private) and have no compatibility requirements, so it makes sense to just use the privates of requested modules. this also suppresses the useless warning about using privates, in case they are still explicitly specified. Change-Id: I9e499bedcf6ef25777283ff1432cef7254e9093a Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'src/testlib/testlib.pro')
-rw-r--r--src/testlib/testlib.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/testlib.pro b/src/testlib/testlib.pro
index f77a611e25..b90171722c 100644
--- a/src/testlib/testlib.pro
+++ b/src/testlib/testlib.pro
@@ -4,7 +4,7 @@ TARGET = QtTest
QT = core-private
CONFIG += exceptions
-MODULE_CONFIG = console testlib_defines
+MODULE_CONFIG = console testlib_defines auto_use_privates
INCLUDEPATH += .
unix:!embedded:QMAKE_PKGCONFIG_DESCRIPTION = Qt \