122 lines
3.1 KiB
Prolog
122 lines
3.1 KiB
Prolog
|
|
QT += core gui charts script axcontainer network multimedia
|
||
|
|
|
||
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport opengl sql
|
||
|
|
|
||
|
|
|
||
|
|
CONFIG += c++11
|
||
|
|
RC_FILE += ICON.rc
|
||
|
|
# 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
|
||
|
|
#DEFINES += GSL_DLL
|
||
|
|
DEFINES += QCUSTOMPLOT_USE_OPENGL
|
||
|
|
# 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
|
||
|
|
|
||
|
|
SOURCES += \
|
||
|
|
Adddeviceform.cpp \
|
||
|
|
BaseWgt.cpp \
|
||
|
|
Calculation.cpp \
|
||
|
|
ChartView.cpp \
|
||
|
|
ChildForm.cpp \
|
||
|
|
CreateReport.cpp \
|
||
|
|
DataParsing.cpp \
|
||
|
|
FilterForm.cpp \
|
||
|
|
LegendForm.cpp \
|
||
|
|
LoadingDialog.cpp \
|
||
|
|
MqttClient.cpp \
|
||
|
|
NetMgr.cpp \
|
||
|
|
PlayWaveSound.cpp \
|
||
|
|
Reportform.cpp \
|
||
|
|
SetScalesform.cpp \
|
||
|
|
SettingForm.cpp \
|
||
|
|
WordOperate.cpp \
|
||
|
|
cidwudp.cpp \
|
||
|
|
global.cpp \
|
||
|
|
main.cpp \
|
||
|
|
MainWidget.cpp \
|
||
|
|
msgbox.cpp \
|
||
|
|
qcustomplot.cpp \
|
||
|
|
secure.cpp \
|
||
|
|
sqlitedb.cpp
|
||
|
|
|
||
|
|
HEADERS += \
|
||
|
|
Adddeviceform.h \
|
||
|
|
BaseWgt.h \
|
||
|
|
Calculation.hpp \
|
||
|
|
ChartView.h \
|
||
|
|
ChildForm.h \
|
||
|
|
CreateReport.h \
|
||
|
|
DataParsing.h \
|
||
|
|
FilterForm.h \
|
||
|
|
LegendForm.h \
|
||
|
|
LoadingDialog.h \
|
||
|
|
MainWidget.h \
|
||
|
|
MqttClient.h \
|
||
|
|
NetMgr.h \
|
||
|
|
PlayWaveSound.h \
|
||
|
|
Reportform.h \
|
||
|
|
ResizableWiget.h \
|
||
|
|
SH_MySingleton.hpp \
|
||
|
|
SetScalesform.h \
|
||
|
|
SettingForm.h \
|
||
|
|
WordOperate.h \
|
||
|
|
cidwudp.h \
|
||
|
|
fftw3.h \
|
||
|
|
global.h \
|
||
|
|
msgbox.h \
|
||
|
|
qcustomplot.h \
|
||
|
|
secure.h \
|
||
|
|
sqlitedb.h
|
||
|
|
|
||
|
|
FORMS += \
|
||
|
|
Adddeviceform.ui \
|
||
|
|
ChildForm.ui \
|
||
|
|
FilterForm.ui \
|
||
|
|
LegendForm.ui \
|
||
|
|
MainWidget.ui \
|
||
|
|
Reportform.ui \
|
||
|
|
SetScalesForm.ui \
|
||
|
|
SettingForm.ui \
|
||
|
|
WebForm.ui
|
||
|
|
|
||
|
|
|
||
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/ -lfreeglut
|
||
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/ -lfreeglut
|
||
|
|
else:unix: LIBS += -L$$PWD/lib/
|
||
|
|
|
||
|
|
INCLUDEPATH += $$PWD/.
|
||
|
|
INCLUDEPATH += $$PWD/GSL/include
|
||
|
|
DEPENDPATH += $$PWD/.
|
||
|
|
INCLUDEPATH += $$PWD/mqtt
|
||
|
|
|
||
|
|
# Default rules for deployment.
|
||
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
||
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||
|
|
!isEmpty(target.path): INSTALLS += target
|
||
|
|
|
||
|
|
RESOURCES += \
|
||
|
|
qrc.qrc
|
||
|
|
|
||
|
|
LIBS += -L$$PWD/fftwlib/ -llibfftw3-3 -llibfftw3f-3 -llibfftw3l-3
|
||
|
|
LIBS += -lopengl32 -lglu32 -lglut
|
||
|
|
LIBS += -L$$PWD/GSL/lib/ -llibgsl -llibgslcblas
|
||
|
|
#LIBS += -LD:C:\Qt\Qt5.12.11\5.12.11\mingw73_32\lib -lopengl32
|
||
|
|
|
||
|
|
|
||
|
|
unix|win32: LIBS += -L$$PWD/lib/ -lportaudio
|
||
|
|
|
||
|
|
INCLUDEPATH += $$PWD/include
|
||
|
|
DEPENDPATH += $$PWD/include
|
||
|
|
|
||
|
|
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
|
||
|
|
|
||
|
|
INCLUDEPATH += $$PWD/lib/MQTT
|
||
|
|
DEPENDPATH += $$PWD/lib/MQTT
|