diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2016-11-01 09:55:05 +0100 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2016-11-01 10:55:11 +0000 |
commit | 52aa422d12aad5603891d8296e3a41ca2cb63fc9 (patch) | |
tree | 5f6def0b1b9921e3cc00e1805425ee6b87984f53 | |
parent | 8847796a62699a715696e50b87b1f36e37e8ef50 (diff) |
Make bluetooth support optional
Change-Id: I33db4d7c8531be0b02f9550bb2d2fbb2c0de9af8
Reviewed-by: Michael Winkelmann <Michael.winkelmann@qt.io>
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r-- | src/imports/imports.pro | 3 | ||||
-rw-r--r-- | src/src.pro | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/imports/imports.pro b/src/imports/imports.pro index f34be18..8c10510 100644 --- a/src/imports/imports.pro +++ b/src/imports/imports.pro @@ -1,7 +1,8 @@ TEMPLATE = subdirs SUBDIRS += networksettings \ - bluetoothsettings \ localesettings \ timedatesettings \ localdevice \ displaysettings + +qtHaveModule(bluetooth): SUBDIRS += bluetoothsettings diff --git a/src/src.pro b/src/src.pro index faa9a6d..74ecfb0 100644 --- a/src/src.pro +++ b/src/src.pro @@ -2,7 +2,6 @@ TEMPLATE = subdirs CONFIG += ordered SUBDIRS += \ networksettings \ - bluetoothsettings \ localesettings \ displaysettings \ timedatesettings \ @@ -11,3 +10,5 @@ SUBDIRS += \ settingsui \ imports \ doc \ + +qtHaveModule(bluetooth): SUBDIRS += bluetoothsettings |