1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

fix qextserialport adding logic

This commit is contained in:
tianduanrui 2017-10-18 17:23:38 +08:00
parent fcf7cb05f0
commit 4f04ea2ebd

View File

@ -178,11 +178,11 @@ equals(QT_KIT, MIPS32) {
HEADERS += $$PWD/network/qqtethenetmanager.h
}
#qextserialport support
#USE QEXTSERIALPORT
#if you use qextserialport, open the two annotation
#DEFINES += __QTEXTSERIALPORT__
contains (DEFINES, __QTEXTSERIALPORT__) {
message ( __QTEXTSERIALPORT__ Defined in qqtfoundation)
include ( $$PWD/network/qextserialport/qextserialport.pri )
#include ( $$PWD/network/qextserialport/qextserialport.pri )
#message ( __QTEXTSERIALPORT__ Defined in $${TARGET})
} else {
greaterThan(QT_MAJOR_VERSION, 4): QT += serialport
lessThan(QT_MAJOR_VERSION, 5): CONFIG += serialport