#------------------------------------------------- # # Project created by QtCreator 2022-11-23T21:22:20 # #------------------------------------------------- QT += core gui network charts greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql ftp printsupport TARGET = DataWatch3500_GUI TEMPLATE = app # The following define makes your compiler emit warnings if you use # any feature of Qt which has been marked as 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 you use 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 QMAKE_CXXFLAGS += -execution-charset:utf-8 CONFIG += c++11 SOURCES += \ AddChannel.cpp \ AlarmDetails.cpp \ Backup.cpp \ CharacteristicList.cpp \ Configuration.cpp \ CopyChannelSetting.cpp \ CopyDatFile.cpp \ CustomFilter.cpp \ DIO_Board.cpp \ DataGraphView.cpp \ FileServerConfig.cpp \ HistoryAlarm.cpp \ ImportConfig.cpp \ Mqttclient.cpp \ MyTreeView.cpp \ NTPServerConfig.cpp \ NetMgr.cpp \ OtherConfig.cpp \ PSConfig.cpp \ QGraphicsMovieItem.cpp \ QMyTableViewBtnDelegate.cpp \ RealTimeAlarm.cpp \ SlowSpeedChannelSetting.cpp \ SystemSelfcheck.cpp \ TableHeaderView.cpp \ TerminalInfo.cpp \ TrendGraph.cpp \ TriggerConfig.cpp \ ViewTriggerConfig.cpp \ WaveDisplay.cpp \ WokingConditionConfig.cpp \ customrectitem.cpp \ form.cpp \ ftpclient.cpp \ global.cpp \ headerView.cpp \ log.cpp \ mainwindow.cpp \ main.cpp \ mygraphicrectitem.cpp \ qcustomplot.cpp \ quihelper.cpp \ commonfun.cpp \ realtimeform.cpp \ MyCustomGraphicsItem.cpp \ ChannelSetting.cpp \ ChannelList.cpp \ BoardSetting.cpp \ UnitSetting.cpp \ WorkingCondition.cpp \ sqlitedb.cpp HEADERS += \ AddChannel.h \ AlarmDetails.h \ Backup.h \ CharacteristicList.h \ Configuration.h \ CopyChannelSetting.h \ CopyDatFile.h \ CustomFilter.h \ CustomGraphicsItemGroup.h \ DIO_Board.h \ DataGraphView.h \ FileServerConfig.h \ HistoryAlarm.h \ ImportConfig.h \ Mqttclient.h \ MyTreeView.h \ NTPServerConfig.h \ NetMgr.h \ OtherConfig.h \ PSConfig.h \ QGraphicsMovieItem.h \ QMyTableViewBtnDelegate.h \ RealTimeAlarm.h \ SlowSpeedChannelSetting.h \ SystemSelfcheck.h \ TableHeaderView.h \ TerminalInfo.h \ TrendGraph.h \ TriggerConfig.h \ ViewTriggerConfig.h \ WaveDisplay.h \ WokingConditionConfig.h \ customrectitem.h \ form.h \ ftpclient.h \ global.h \ headerView.h \ log.h \ mainwindow.h \ mygraphicrectitem.h \ qcustomplot.h \ quihelper.h \ commonfun.h \ realtimeform.h \ MyCustomGraphicsItem.h \ ChannelSetting.h \ ChannelList.h \ BoardSetting.h \ UnitSetting.h \ WorkingCondition.h \ sqlitedb.h \ utils_global.h FORMS += \ AddChannel.ui \ AlarmDetails.ui \ BackUp.ui \ Backup.ui \ CharacteristicList.ui \ Configuration.ui \ CopyChannelSetting.ui \ CopyDatFile.ui \ CustomFilter.ui \ DIO_Board.ui \ DataGraphView.ui \ FileServerConfig.ui \ HistoryAlarm.ui \ ImportConfig.ui \ NTPServerConfig.ui \ OtherConfig.ui \ PSConfig.ui \ RealTimeAlarm.ui \ SlowSpeedChannelSetting.ui \ SystemSelfcheck.ui \ TerminalInfo.ui \ TrendGraph.ui \ TriggerConfig.ui \ ViewTriggerConfig.ui \ WaveDisplay.ui \ WokingConditionConfig.ui \ form.ui \ mainwindow.ui \ realtimeform.ui \ channelsetting.ui \ channellist.ui \ boardsetting.ui \ UnitSetting.ui \ WorkingCondition.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 += \ qss.qrc DISTFILES += \ image/Btn/btn.png \ image/Btn/btn_p.png INCLUDEPATH += $$PWD/include/mqtt INCLUDEPATH += $$PWD/include/fftw win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/fftw/ -llibfftw3-3 -llibfftw3f-3 -llibfftw3l-3 else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/fftw/ -llibfftw3-3 -llibfftw3f-3 -llibfftw3l-3 else:unix: LIBS += -L$$PWD/lib/fftw/ -lfftw3 win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/mqtt/ -lQt5Qmqtt else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/mqtt/ -lQt5Qmqttd else:unix: LIBS += -L$$PWD/lib/mqtt/ -lQt5Qmqtt