You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
845 B
Prolog

1 year ago
QT -= gui
TEMPLATE = lib
DEFINES += DEVPRINTER_LIBRARY
QT += serialport
CONFIG += c++11
DEFINES +=LOG_FILE_NAME=DevPrinter.log
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
WriteLog.cpp \
devprinter.cpp \
devprinterstr.cpp \
global.cpp \
jsonanalystr.cpp \
mylptstr.cpp \
myserialport.cpp
HEADERS += \
DevType.h \
WriteLog.h \
devprinter.h \
devprinterstr.h \
global.h \
jsonanalystr.h \
mylptstr.h \
myserialport.h
# Default rules for deployment.
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
LIBS += \
-L../build-WriteLogDLL/release \
-lWriteLogDLL