summaryrefslogtreecommitdiffstats
path: root/messagingframework.pro
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.vuorela@jolla.com>2018-08-16 14:40:05 +0300
committerPekka Vuorela <pvuorela@iki.fi>2018-09-07 15:05:09 +0000
commit0f6db779f8ca846fdd9a2d8d97be8958a056cdeb (patch)
tree6e5fe69f9a89bc8ab29899b8e7630c8fd44d2795 /messagingframework.pro
parentca3a441dc0f8f69599593a52c6a25b034035b36d (diff)
Add QMF_NO_WIDGETS option to disable QtWidgets depending code
QMF_NO_MESSAGE_SERVICE_EDITOR used to have this effect but now that QmfWidget is a separate module, it pulls in QtWidgets. There could be use for disabling service editors, but still keeping QmfWidgets, but now for simplicity just disabling both with the new option. Change-Id: Iebb5c52aab4b645572f694bae8c5ed40e8d6aa6b Reviewed-by: Christopher Adams <chris.adams@jollamobile.com> Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Diffstat (limited to 'messagingframework.pro')
-rw-r--r--messagingframework.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/messagingframework.pro b/messagingframework.pro
index c803ddf6..fb0c343b 100644
--- a/messagingframework.pro
+++ b/messagingframework.pro
@@ -6,7 +6,10 @@ requires(!qnx)
requires(!android)
requires(!integrity)
requires(!vxworks)
-requires(qtHaveModule(widgets))
+
+!contains(DEFINES,QMF_NO_WIDGETS) {
+ requires(qtHaveModule(widgets))
+}
load(qt_parts)