summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-01-22 14:20:11 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-02-08 10:40:46 +0000
commitb50d20b7057fcd808525921e56d25f75140c79cd (patch)
tree4837223f6baa59cd8c3887baf145eb4cbde81fda /examples
parent816b0d34b7345e21a7c732c9dfb0d93903df25d7 (diff)
downloadqtsvg-b50d20b7057fcd808525921e56d25f75140c79cd.tar.gz
Fix building with unusual options
When building without image format plugins we shouldn't even try to build the svg image format plugin. Otherwise it will fail to load later. Then icon engine plugin, however, can easily be built even without image formats. Furthermore, the network example needs bearer management. Change-Id: I1380e5b2de7d112283ef0fb65a01a5049412af55 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/svg/network/network.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/svg/network/network.pro b/examples/svg/network/network.pro
index cd3cc86..0b87d29 100644
--- a/examples/svg/network/network.pro
+++ b/examples/svg/network/network.pro
@@ -1,2 +1,3 @@
TEMPLATE = subdirs
-qtHaveModule(widgets): SUBDIRS += bearercloud
+load(qfeatures)
+qtHaveModule(widgets):!contains(QT_DISABLED_FEATURES, bearermanagement): SUBDIRS += bearercloud