QT += core gui network serialport sql printsupport greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS # You can also make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 include($$PWD/pqQtlib/pqQtlib.pri) SOURCES += \ configinfo.cpp \ globalinfo.cpp \ handle/autopackutils.cpp \ handle/code39.cpp \ handle/danjumuban.cpp \ handle/database.cpp \ handle/httprequest.cpp \ handle//seriport/logserialport.cpp \ handle/packinfomanger.cpp \ handle/packinfoseed2server.cpp \ handle/projectinfomanger.cpp \ handle/remotepackconfig.cpp \ handle/rtuport.cpp \ handle/selectspecs.cpp \ handle/seriport/assictscalet2000.cpp \ handle/seriport/serialbasehandle.cpp \ struct_/packinfo.cpp \ struct_/projectinfo.cpp \ widget/addnewspecsform.cpp \ widget/autopackform.cpp \ widget/fixedweightpackform.cpp \ widget/loginform.cpp \ main.cpp \ mainwindow.cpp \ widget/packdetailform.cpp \ widget/selectvalueform.cpp \ widget/settingsform.cpp \ widget/uncertainweightpackform.cpp HEADERS += \ configinfo.h \ globalinfo.h \ handle/autopackutils.h \ handle/code39.h \ handle/danjumuban.h \ handle/database.h \ handle/httprequest.h \ handle/packinfomanger.h \ handle/packinfoseed2server.h \ handle/projectinfomanger.h \ handle/selectspecs.h \ handle/seriport/logserialport.h \ handle/remotepackconfig.h \ handle/rtuport.h \ handle/seriport/assictscalet2000.h \ handle/seriport/serialbasehandle.h \ struct_/packinfo.h \ struct_/projectinfo.h \ widget/addnewspecsform.h \ widget/autopackform.h \ widget/fixedweightpackform.h \ widget/loginform.h \ mainwindow.h \ widget/packdetailform.h \ widget/selectvalueform.h \ widget/settingsform.h \ widget/uncertainweightpackform.h FORMS += \ widget/addnewspecsform.ui \ widget/autopackform.ui \ widget/fixedweightpackform.ui \ widget/loginform.ui \ mainwindow.ui \ widget/packdetailform.ui \ widget/selectvalueform.ui \ widget/settingsform.ui \ widget/uncertainweightpackform.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target RESOURCES += \ images.qrc include($$PWD/pqQtlib/pqQtlib.pri)