301 lines
10 KiB
Prolog
301 lines
10 KiB
Prolog
QT += core gui sql printsupport quickwidgets network serialport xml multimedia bluetooth charts axcontainer virtualkeyboard
|
|
QT += quick
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
#Qt5.15.2 mingw64
|
|
#指定UI文件生成的位置
|
|
UI_DIR = ./UI
|
|
MOC_DIR = tmp/moc
|
|
OBJECTS_DIR = tmp/obj
|
|
RCC_DIR = tmp/rcc
|
|
|
|
|
|
CONFIG += c++17
|
|
CONFIG += qtquickcompiler
|
|
|
|
VERSION = 1.0.0.1
|
|
|
|
include($$PWD/Src/bluetooth/bluetooth.pri)
|
|
|
|
DEFINES += UNIFORMLY HEARTBEAT #OXYGEN #DEBUGON #上下肢统一,是否开启心跳
|
|
#qmake CONFIG+="lang-en_GB lang-ru"
|
|
|
|
##单上肢、单下肢区分
|
|
#DEFINES += ONLYUPLIMP
|
|
#TARGET = XY-ZBD-IDL
|
|
|
|
#DEFINES += ONLYDOWNLIMP
|
|
#TARGET = XY-ZBD-IIDL
|
|
|
|
#区分高低版本(打开生成低配,关闭生成高配)
|
|
|
|
#DEFINES += NORMALEXE
|
|
#TARGET = XY-ZBD-IIIDL
|
|
|
|
#电刺激
|
|
#DEFINES += UpLowLimpNormal
|
|
#TARGET = XY-ZBD-IIIDH #高配
|
|
|
|
|
|
#static{
|
|
#QTPLUGIN += qtvirtualkeyboardplugin
|
|
#QT += svg
|
|
#}
|
|
|
|
# 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
|
|
|
|
INCLUDEPATH += $$PWD/Src/MainWindow \
|
|
$$PWD/Src/DataBaseControl \
|
|
$$PWD/Src/DataFormate \
|
|
$$PWD/Src/UserManager \
|
|
$$PWD/Src/TrainRecord \
|
|
$$PWD/Src/Report \
|
|
$$PWD/Src/TrainManager \
|
|
$$PWD/Src/Setting \
|
|
$$PWD/Src/Communication \
|
|
$$PWD/Src/CustomWidget \
|
|
$$PWD/Src/PopDialog \
|
|
$$PWD/Src/GameControl \
|
|
$$PWD/Src/ICEModule \
|
|
$$PWD/Src/bluetooth
|
|
SOURCES += \
|
|
Src/Communication/ccommunicateapi.cpp \
|
|
Src/Communication/ccommunicationinterface.cpp \
|
|
Src/Communication/cserialportinterface.cpp \
|
|
Src/Communication/ctcpsocketinterface.cpp \
|
|
Src/Communication/cudpinterface.cpp \
|
|
Src/Communication/globalqueue.cpp \
|
|
Src/Communication/readconfig.cpp \
|
|
Src/CustomWidget/bleitem.cpp \
|
|
Src/CustomWidget/fesparambtn.cpp \
|
|
Src/CustomWidget/musclebutton.cpp \
|
|
Src/DataBaseControl/cdatabaseinterface.cpp \
|
|
Src/DataBaseControl/mysqldatabase.cpp \
|
|
Src/DataFormate/dataformate.cpp \
|
|
Src/DataFormate/dbforrmate.cpp \
|
|
Src/GameControl/gamecontainer.cpp \
|
|
Src/GameControl/gamecontrol.cpp \
|
|
Src/GameControl/gamedisplaypage.cpp \
|
|
Src/ICEModule/fescontroldialog.cpp \
|
|
Src/ICEModule/icemodule.cpp \
|
|
Src/ICEModule/languagemanager.cpp \
|
|
Src/MainWindow/cmainwindow.cpp \
|
|
Src/MainWindow/loginwidget.cpp \
|
|
Src/MainWindow/main.cpp \
|
|
Src/MainWindow/mainwindow.cpp \
|
|
Src/MainWindow/mainwindowpagecontrol.cpp \
|
|
Src/MainWindow/titlewidget.cpp \
|
|
Src/PopDialog/Prescriptiondialog.cpp \
|
|
Src/PopDialog/advanceddialog.cpp \
|
|
Src/PopDialog/channelonlydialog.cpp \
|
|
Src/PopDialog/clickmachinedialog.cpp \
|
|
Src/PopDialog/deletereportdialog.cpp \
|
|
Src/PopDialog/deleteuserdialog.cpp \
|
|
Src/PopDialog/emergencystopdialog.cpp \
|
|
Src/PopDialog/fesboxtipsdialog.cpp \
|
|
Src/PopDialog/festipsdialog.cpp \
|
|
Src/PopDialog/horizontaltoverticaldialog.cpp \
|
|
Src/PopDialog/machinestartdialog.cpp \
|
|
Src/PopDialog/maiboxueyangdialog.cpp \
|
|
Src/PopDialog/paramtipsdialog.cpp \
|
|
Src/PopDialog/passworddialog.cpp \
|
|
Src/PopDialog/protectgamestart.cpp \
|
|
Src/PopDialog/quitbyspeeddialog.cpp \
|
|
Src/PopDialog/quitgamedialog.cpp \
|
|
Src/PopDialog/selectuserdialog.cpp \
|
|
Src/PopDialog/shutdeondialog.cpp \
|
|
Src/PopDialog/soundcontroller.cpp \
|
|
Src/PopDialog/sounddialog.cpp \
|
|
Src/PopDialog/spasmtipsdialog.cpp \
|
|
Src/PopDialog/torquedialog.cpp \
|
|
Src/PopDialog/verticaltohorizondialog.cpp \
|
|
Src/Report/trainreport.cpp \
|
|
Src/Report/trainreportthreetwo.cpp \
|
|
Src/Report/trainreporttwothree.cpp \
|
|
Src/Report/trainreporttwotwo.cpp \
|
|
Src/Setting/settingwidget.cpp \
|
|
Src/TrainManager/BCIManager.cpp \
|
|
Src/TrainManager/QmlTcpSocket/QIntPtr.cpp \
|
|
Src/TrainManager/QmlTcpSocket/QMLTcpSocketsPlugin.cpp \
|
|
Src/TrainManager/QmlTcpSocket/QTcpServerPub.cpp \
|
|
Src/TrainManager/QmlTcpSocket/TcpServer.cpp \
|
|
Src/TrainManager/QmlTcpSocket/TcpSocket.cpp \
|
|
Src/TrainManager/QmlTcpSocket/TcpSocketEnums.cpp \
|
|
Src/TrainManager/QmlTcpSocket/TcpSocketFactory.cpp \
|
|
Src/TrainManager/armorleg.cpp \
|
|
# Src/TrainManager/fesparamset.cpp \
|
|
Src/TrainManager/braintrain.cpp \
|
|
Src/TrainManager/eyetrainwidget.cpp \
|
|
Src/TrainManager/fessetting.cpp \
|
|
Src/TrainManager/recipexmlcontrol.cpp \
|
|
Src/TrainManager/trainingparamsetting.cpp \
|
|
Src/TrainManager/trainmanager.cpp \
|
|
Src/TrainRecord/trainrecord.cpp \
|
|
Src/UserManager/currentuserdata.cpp \
|
|
Src/UserManager/userdialog.cpp \
|
|
Src/UserManager/usermanager.cpp \
|
|
Src/PopDialog/festotalparamdialog.cpp \
|
|
Src/PopDialog/channeldialog.cpp
|
|
|
|
HEADERS += \
|
|
Src/Communication/ccommunicateapi.h \
|
|
Src/Communication/ccommunicationinterface.h \
|
|
Src/Communication/cserialportinterface.h \
|
|
Src/Communication/ctcpsocketinterface.h \
|
|
Src/Communication/cudpinterface.h \
|
|
Src/Communication/globalqueue.h \
|
|
Src/Communication/readconfig.h \
|
|
Src/CustomWidget/bleitem.h \
|
|
Src/CustomWidget/fesparambtn.h \
|
|
Src/CustomWidget/musclebutton.h \
|
|
Src/DataBaseControl/cdatabaseinterface.h \
|
|
Src/DataBaseControl/mysqldatabase.h \
|
|
Src/DataFormate/dataformate.h \
|
|
Src/DataFormate/dbforrmate.h \
|
|
Src/GameControl/gamecontainer.h \
|
|
Src/GameControl/gamecontrol.h \
|
|
Src/GameControl/gamedisplaypage.h \
|
|
Src/ICEModule/fescontroldialog.h \
|
|
Src/ICEModule/icemodule.h \
|
|
Src/ICEModule/languagemanager.h \
|
|
Src/MainWindow/cmainwindow.h \
|
|
Src/MainWindow/loginwidget.h \
|
|
Src/MainWindow/mainwindow.h \
|
|
Src/MainWindow/mainwindowpagecontrol.h \
|
|
Src/MainWindow/titlewidget.h \
|
|
Src/PopDialog/Prescriptiondialog.h \
|
|
Src/PopDialog/advanceddialog.h \
|
|
Src/PopDialog/channelonlydialog.h \
|
|
Src/PopDialog/clickmachinedialog.h \
|
|
Src/PopDialog/deletereportdialog.h \
|
|
Src/PopDialog/deleteuserdialog.h \
|
|
Src/PopDialog/emergencystopdialog.h \
|
|
Src/PopDialog/fesboxtipsdialog.h \
|
|
Src/PopDialog/festipsdialog.h \
|
|
Src/PopDialog/horizontaltoverticaldialog.h \
|
|
Src/PopDialog/machinestartdialog.h \
|
|
Src/PopDialog/maiboxueyangdialog.h \
|
|
Src/PopDialog/paramtipsdialog.h \
|
|
Src/PopDialog/passworddialog.h \
|
|
Src/PopDialog/protectgamestart.h \
|
|
Src/PopDialog/quitbyspeeddialog.h \
|
|
Src/PopDialog/quitgamedialog.h \
|
|
Src/PopDialog/selectuserdialog.h \
|
|
Src/PopDialog/shutdeondialog.h \
|
|
Src/PopDialog/soundcontroller.h \
|
|
Src/PopDialog/sounddialog.h \
|
|
Src/PopDialog/spasmtipsdialog.h \
|
|
Src/PopDialog/torquedialog.h \
|
|
Src/PopDialog/verticaltohorizondialog.h \
|
|
Src/Report/trainreport.h \
|
|
Src/Report/trainreportthreetwo.h \
|
|
Src/Report/trainreporttwothree.h \
|
|
Src/Report/trainreporttwotwo.h \
|
|
Src/Setting/settingwidget.h \
|
|
Src/TrainManager/BCIManager.h \
|
|
Src/TrainManager/QmlTcpSocket/QIntPtr.h \
|
|
Src/TrainManager/QmlTcpSocket/QMLTcpSocketsPlugin.h \
|
|
Src/TrainManager/QmlTcpSocket/QTcpServerPub.h \
|
|
Src/TrainManager/QmlTcpSocket/TcpServer.h \
|
|
Src/TrainManager/QmlTcpSocket/TcpSocket.h \
|
|
Src/TrainManager/QmlTcpSocket/TcpSocketEnums.h \
|
|
Src/TrainManager/QmlTcpSocket/TcpSocketFactory.h \
|
|
Src/TrainManager/armorleg.h \
|
|
# Src/TrainManager/fesparamset.h \
|
|
Src/TrainManager/braintrain.h \
|
|
Src/TrainManager/eyetrainwidget.h \
|
|
Src/TrainManager/fessetting.h \
|
|
Src/TrainManager/recipexmlcontrol.h \
|
|
Src/TrainManager/trainingparamsetting.h \
|
|
Src/TrainManager/trainmanager.h \
|
|
Src/TrainRecord/trainrecord.h \
|
|
Src/UserManager/currentuserdata.h \
|
|
Src/UserManager/userdialog.h \
|
|
Src/UserManager/usermanager.h \
|
|
Src/PopDialog/festotalparamdialog.h \
|
|
Src/PopDialog/channeldialog.h
|
|
|
|
FORMS += \
|
|
Src/CustomWidget/bleitem.ui \
|
|
Src/CustomWidget/fesparambtn.ui \
|
|
Src/CustomWidget/musclebutton.ui \
|
|
Src/GameControl/gamecontainer.ui \
|
|
Src/GameControl/gamedisplaypage.ui \
|
|
Src/ICEModule/fescontroldialog.ui \
|
|
Src/MainWindow/cmainwindow.ui \
|
|
Src/MainWindow/loginwidget.ui \
|
|
Src/MainWindow/mainwindow.ui \
|
|
Src/MainWindow/titlewidget.ui \
|
|
Src/PopDialog/Prescriptiondialog.ui \
|
|
Src/PopDialog/advanceddialog.ui \
|
|
Src/PopDialog/channelonlydialog.ui \
|
|
Src/PopDialog/clickmachinedialog.ui \
|
|
Src/PopDialog/deletereportdialog.ui \
|
|
Src/PopDialog/deleteuserdialog.ui \
|
|
Src/PopDialog/emergencystopdialog.ui \
|
|
Src/PopDialog/fesboxtipsdialog.ui \
|
|
Src/PopDialog/festipsdialog.ui \
|
|
Src/PopDialog/horizontaltoverticaldialog.ui \
|
|
Src/PopDialog/machinestartdialog.ui \
|
|
Src/PopDialog/maiboxueyangdialog.ui \
|
|
Src/PopDialog/paramtipsdialog.ui \
|
|
Src/PopDialog/passworddialog.ui \
|
|
Src/PopDialog/protectgamestart.ui \
|
|
Src/PopDialog/quitbyspeeddialog.ui \
|
|
Src/PopDialog/quitgamedialog.ui \
|
|
Src/PopDialog/selectuserdialog.ui \
|
|
Src/PopDialog/shutdeondialog.ui \
|
|
Src/PopDialog/sounddialog.ui \
|
|
Src/PopDialog/spasmtipsdialog.ui \
|
|
Src/PopDialog/torquedialog.ui \
|
|
Src/PopDialog/verticaltohorizondialog.ui \
|
|
Src/Report/trainreport.ui \
|
|
Src/Report/trainreportthreetwo.ui \
|
|
Src/Report/trainreporttwothree.ui \
|
|
Src/Report/trainreporttwotwo.ui \
|
|
Src/Setting/settingwidget.ui \
|
|
Src/TrainManager/armorleg.ui \
|
|
# Src/TrainManager/fesparamset.ui \
|
|
Src/TrainManager/braintrain.ui \
|
|
Src/TrainManager/eyetrainwidget.ui \
|
|
Src/TrainManager/fessetting.ui \
|
|
Src/TrainManager/trainingparamsetting.ui \
|
|
Src/TrainManager/trainmanager.ui \
|
|
Src/TrainRecord/trainrecord.ui \
|
|
Src/UserManager/userdialog.ui \
|
|
Src/UserManager/usermanager.ui \
|
|
Src/PopDialog/festotalparamdialog.ui \
|
|
Src/PopDialog/channeldialog.ui
|
|
|
|
LIBS+=-lwlanapi
|
|
|
|
TRANSLATIONS += UpLowLimp_EN.ts \
|
|
UpLowLimp_CN.ts \
|
|
UpLowLimp_ELS.ts
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
#外部库的引用
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/./DependFile/DependLib/ -lXYComFunc
|
|
|
|
INCLUDEPATH += $$PWD/DependFile/DependLib/equipmentLib/
|
|
#DEPENDPATH += $$PWD/DependFile/DependLib/equipmentLib
|
|
|
|
RESOURCES += \
|
|
image.qrc
|
|
|
|
RC_ICONS = logo.ico
|
|
|
|
dict_files.files += $$PWD/DependFile/googlepinyin/dict/*
|
|
dict_files.path = $$PWD/../build/bin/dict
|
|
INSTALLS += dict_files
|
|
|
|
DESTDIR = $$PWD/release
|