aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2015-03-18 13:18:43 +0100
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2015-03-18 12:47:48 +0000
commitafe9b095cfb5e693ae14bc036b794a0c087b2c9e (patch)
treec8e57064f4355e1ac859afc6a7a2cb2e07da5d27 /src/qmltest
parentb735ba490fa9f43e1d14e356609a85f39e843259 (diff)
qmltest: Make sure we inherit all of testlib's MODULE_CONFIG
We don't know what's in testlib's MODULE_CONFIG, so we can't hard-code the value. E.g., with the introduction of XCTest support in testlib [1], we'll gain an additional member in testlib's module config set for taking care of the XCTest framework include path, and this value also needs to be propagated/inherited to the final target. [1] https://codereview.qt-project.org/#/c/107477/ Change-Id: I28ee44ac41f148a873ab35adcae38e73bef3316f Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/qmltest.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmltest/qmltest.pro b/src/qmltest/qmltest.pro
index 04588f110c..24b87588b8 100644
--- a/src/qmltest/qmltest.pro
+++ b/src/qmltest/qmltest.pro
@@ -5,8 +5,8 @@ QT = core
QT_PRIVATE = testlib-private quick qml-private gui core-private
# Testlib is only a private dependency, which results in our users not
-# inheriting CONFIG+=console transitively. Make it explicit.
-MODULE_CONFIG = console
+# inheriting testlibs's MODULE_CONFIG transitively. Make it explicit.
+MODULE_CONFIG += $${QT.testlib.CONFIG}
qtHaveModule(widgets) {
QT += widgets