1 Star 0 Fork 193

buyaopa / QtSwissArmyKnife

forked from x-tools-author / x-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
SAKBluetoothLowEnergy.pri 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
Qsaker 提交于 2021-05-05 16:40 . Fixed: path error
win32 {
equals(QT_MAJOR_VERSION, 5) {
equals(QT_MINOR_VERSION, 15) {
qtHaveModule(bluetooth) {
QT += bluetooth
DEFINES+=SAK_IMPORT_MODULE_BLUETOOTHLOWENERGY
}
}
} else {
equals(QT_MAJOR_VERSION, 6) {
qtHaveModule(bluetooth) {
QT += bluetooth
DEFINES+=SAK_IMPORT_MODULE_BLUETOOTHLOWENERGY
}
}
}
} else {
qtHaveModule(bluetooth) {
QT += bluetooth
DEFINES+=SAK_IMPORT_MODULE_BLUETOOTHLOWENERGY
}
}
contains(DEFINES, SAK_IMPORT_MODULE_BLUETOOTHLOWENERGY) {
FORMS += \
$$PWD/src/pages/bluetoothlowenergy/SAKBluetoothLowEnergyDeviceController.ui
HEADERS += \
$$PWD/src/pages/bluetoothlowenergy/SAKBluetoothLowEnergyDebugPage.hh \
$$PWD/src/pages/bluetoothlowenergy/SAKBluetoothLowEnergyDevice.hh \
$$PWD/src/pages/bluetoothlowenergy/SAKBluetoothLowEnergyDeviceController.hh
SOURCES += \
$$PWD/src/pages/bluetoothlowenergy/SAKBluetoothLowEnergyDebugPage.cc \
$$PWD/src/pages/bluetoothlowenergy/SAKBluetoothLowEnergyDevice.cc \
$$PWD/src/pages/bluetoothlowenergy/SAKBluetoothLowEnergyDeviceController.cc
INCLUDEPATH += \
$$PWD/src/pages/bluetoothlowenergy
} else {
message("Can not find bluetooth module, The bluetooth debugging will be ignore!")
}
C++
1
https://gitee.com/haoyj/QtSwissArmyKnife.git
git@gitee.com:haoyj/QtSwissArmyKnife.git
haoyj
QtSwissArmyKnife
QtSwissArmyKnife
master

搜索帮助