From 52aa422d12aad5603891d8296e3a41ca2cb63fc9 Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Tue, 1 Nov 2016 09:55:05 +0100 Subject: Make bluetooth support optional Change-Id: I33db4d7c8531be0b02f9550bb2d2fbb2c0de9af8 Reviewed-by: Michael Winkelmann Reviewed-by: Teemu Holappa Reviewed-by: Samuli Piippo --- src/imports/imports.pro | 3 ++- 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 -- cgit v1.2.3