diff options
Diffstat (limited to 'src/bluetooth/bluetooth.pro')
-rw-r--r-- | src/bluetooth/bluetooth.pro | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/bluetooth/bluetooth.pro b/src/bluetooth/bluetooth.pro index 63e9ec11..bf2dce74 100644 --- a/src/bluetooth/bluetooth.pro +++ b/src/bluetooth/bluetooth.pro @@ -78,7 +78,7 @@ SOURCES += \ qlowenergycontroller.cpp \ qlowenergyserviceprivate.cpp -config_bluez:qtHaveModule(dbus) { +qtConfig(bluez):qtHaveModule(dbus) { QT_FOR_PRIVATE += dbus DEFINES += QT_BLUEZ_BLUETOOTH @@ -98,16 +98,13 @@ config_bluez:qtHaveModule(dbus) { # old versions of Bluez do not have the required BTLE symbols - config_bluez_le { + qtConfig(bluez_le) { SOURCES += \ qleadvertiser_bluez.cpp \ qlowenergycontroller_bluez.cpp \ lecmaccalculator.cpp - config_linux_crypto_api:DEFINES += CONFIG_LINUX_CRYPTO_API - else:message("Linux crypto API not present, signed writes will not work.") + qtConfig(linux_crypto_api): DEFINES += CONFIG_LINUX_CRYPTO_API } else { - message("Bluez version is too old to support Bluetooth Low Energy.") - message("Only classic Bluetooth will be available.") DEFINES += QT_BLUEZ_NO_BTLE include(dummy/dummy.pri) SOURCES += \ |