diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-05-19 13:57:16 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2022-06-13 20:16:56 +0000 |
commit | 1da56888ac5815a68e31d113a8022993a40b9f8f (patch) | |
tree | 429b17f8f1dd140ce3849c5a18e18164e3eb6416 | |
parent | 400355fa5170244ceea571f50ec61b29426ebd0a (diff) |
Fix top level build with no widget
It seems that condition module.widgets is not evaluated in time
when configured with "-no-widget" to be picked up by the webengine
when doing 'top level' build.
Use 'widget' feature instead.
Fixes: QTBUG-103618
Change-Id: I881e4ba899d376690984c4866336a03d7dae246c
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | src/pdfwidgets/configure.json | 2 | ||||
-rw-r--r-- | src/webenginewidgets/configure.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pdfwidgets/configure.json b/src/pdfwidgets/configure.json index b33f08555..bef08ef72 100644 --- a/src/pdfwidgets/configure.json +++ b/src/pdfwidgets/configure.json @@ -13,7 +13,7 @@ "pdf-widgets": { "label": "Support Qt PDF Widgets", "purpose": "Provides Qt PDF Widgets support.", - "condition": "module.widgets", + "condition": "features.widgets", "output": [ "privateFeature" ] } }, diff --git a/src/webenginewidgets/configure.json b/src/webenginewidgets/configure.json index a27faf78d..8aa41abce 100644 --- a/src/webenginewidgets/configure.json +++ b/src/webenginewidgets/configure.json @@ -13,7 +13,7 @@ "webengine-widgets": { "label": "Support Qt WebEngine Widgets", "purpose": "Provides WebEngine Widgets support.", - "condition": "module.widgets", + "condition": "features.widgets", "output": [ "privateFeature" ] } }, |