1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
This commit is contained in:
tianduanrui 2018-11-12 00:44:24 +08:00
parent a433160177
commit d67a9f1e8a
6 changed files with 9 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -35,7 +35,7 @@ struct QextPortInfo
* Windows implementation is based on Zach Gorman's work from
* <a href="http://www.codeproject.com">The Code Project</a> (http://www.codeproject.com/system/setupdi.asp).
*/
class LIBRARY_SHARED_EXPORT QextSerialEnumerator
class LIBRARYSHARED_EXPORT QextSerialEnumerator
{
private:
#ifdef _TTY_WIN_

View File

@ -13,7 +13,7 @@
#define QextBaseType Win_QextSerialPort
#endif
class LIBRARY_SHARED_EXPORT QextSerialPort: public QextBaseType
class LIBRARYSHARED_EXPORT QextSerialPort: public QextBaseType
{
Q_OBJECT

View File

@ -222,13 +222,13 @@ defineTest(add_defines_QQt){
contains (DEFINES, __NETWORKSUPPORT__) {
##################SerialPort Module##################################
#if you use qextserialport, open the annotation
#suggest: Qt5 use factory-packed, Qt4 use forming Qt5, extra use this.
#suggest: Qt5 using factory-packed, Qt4 using from Qt5, extra using this.
#DEFINES += __QEXTSERIALPORT__
#if compiler QtSerialPort module manual, note this line is a good idea. default: qt4 qextserialport
lessThan(QT_MAJOR_VERSION, 5): DEFINES += __QEXTSERIALPORT__
#to ios, use qextserialport
#android qt5 support serialport default?
contains (DEFINES, __IOS__): DEFINES += __QEXTSERIALPORT__
#android qt5 has QtSerialport?
contains (DEFINES, __QEXTSERIALPORT__) {
CONFIG += thread
unix:DEFINES += _TTY_POSIX_
@ -238,8 +238,8 @@ defineTest(add_defines_QQt){
#message ( __QEXTSERIALPORT__ Defined in $${TARGET})
} else {
#message ( __QSERIALPORT__ Defined in $${TARGET})
greaterThan(QT_MAJOR_VERSION, 4): QT += serialport
lessThan(QT_MAJOR_VERSION, 5): CONFIG += serialport
else:QT += serialport
unix {
DEFINES += _TTY_POSIX_
} else {