summaryrefslogtreecommitdiffstats
path: root/examples/examples.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 /examples/examples.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 'examples/examples.pro')
-rw-r--r--examples/examples.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index d1d84f49..4abbeda8 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,2 +1,5 @@
TEMPLATE = subdirs
-SUBDIRS = qtmail messagingaccounts serverobserver
+
+!contains(DEFINES,QMF_NO_WIDGETS) {
+ SUBDIRS = qtmail messagingaccounts serverobserver
+}