1 Star 0 Fork 222

keris-huang/QtSwissArmyKnife_1

forked from x-tools-author/x-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SAKPrivate.pri 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
Qsaker 提交于 2022-08-30 11:35 . chore: rename the definitions
# Serialbus was introduced in Qt 5.8.
exists(private/QtModbusStudio/modbusstudio/SAKModbusStudio.pri) {
isEqual(QT_MAJOR_VERSION, 5){
!lessThan(QT_MINOR_VERSION, 7){
qtHaveModule(serialbus){
QT += serialbus
DEFINES+=SAK_IMPORT_MODULE_MODBUS
include(private/QtModbusStudio/modbusstudio/SAKModbusStudio.pri)
}
}
} else {
qtHaveModule(serialbus){
QT += serialbus
DEFINES+=SAK_IMPORT_MODULE_MODBUS
include(private/QtModbusStudio/modbusstudio/SAKModbusStudio.pri)
}
}
}
exists(private/QtCanStudio/canstudio/SAKCanStudio.pri) {
isEqual(QT_MAJOR_VERSION, 5){
!lessThan(QT_MINOR_VERSION, 7){
qtHaveModule(serialbus){
QT += serialbus
DEFINES+=SAK_IMPORT_MODULE_CANBUS
include(private/QtCanStudio/canstudio/SAKCanStudio.pri)
}
}
} else {
qtHaveModule(serialbus){
QT += serialbus
DEFINES+=SAK_IMPORT_MODULE_CANBUS
include(private/QtCanStudio/canstudio/SAKCanStudio.pri)
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/keris-huang/QtSwissArmyKnife_1.git
git@gitee.com:keris-huang/QtSwissArmyKnife_1.git
keris-huang
QtSwissArmyKnife_1
QtSwissArmyKnife_1
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385