2022-08-25 18:37:24 +08:00
|
|
|
QT += core gui widgets
|
|
|
|
QT += multimedia
|
2022-01-04 18:11:48 +08:00
|
|
|
QT += network
|
2022-08-25 18:37:24 +08:00
|
|
|
QT += concurrent
|
|
|
|
QT += serialport
|
|
|
|
QT += opengl
|
|
|
|
QT += webenginewidgets
|
2022-01-04 18:11:48 +08:00
|
|
|
|
2022-10-27 15:07:45 +08:00
|
|
|
CONFIG += c++20
|
2022-08-25 18:37:24 +08:00
|
|
|
CONFIG += lrelease
|
|
|
|
CONFIG += embed_translations
|
|
|
|
# CONFIG += console
|
2022-01-04 18:11:48 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
TARGET = $$quote(LedOK Express)
|
2022-10-27 15:07:45 +08:00
|
|
|
VERSION = 1.3.0
|
2022-08-25 18:37:24 +08:00
|
|
|
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
|
|
|
msvc {
|
|
|
|
QMAKE_CXXFLAGS += -execution-charset:utf-8
|
|
|
|
QMAKE_CXXFLAGS += -source-charset:utf-8
|
|
|
|
|
|
|
|
CONFIG += force_debug_info
|
|
|
|
CONFIG += separate_debug_info
|
|
|
|
}
|
|
|
|
win* {
|
|
|
|
LIBS += -lwinmm
|
|
|
|
LIBS += -lDbghelp
|
|
|
|
}
|
|
|
|
win32 {
|
|
|
|
QMAKE_LFLAGS += /LARGEADDRESSAWARE
|
|
|
|
#QMAKE_LFLAGS += -Wl,--large-address-aware
|
|
|
|
}
|
|
|
|
|
2022-01-04 18:11:48 +08:00
|
|
|
SOURCES += \
|
2022-10-27 15:07:45 +08:00
|
|
|
base/aboutdlg.cpp \
|
|
|
|
base/changepasswordform.cpp \
|
|
|
|
base/customprogressindicator.cpp \
|
|
|
|
base/loemptydialog.cpp \
|
|
|
|
base/pixbmpshowdialog.cpp \
|
|
|
|
base/qiplineedit.cpp \
|
|
|
|
base/softconfigdialog.cpp \
|
|
|
|
base/switchcontrol.cpp \
|
|
|
|
base/taesclass.cpp \
|
|
|
|
base/updateledset3dialog.cpp \
|
|
|
|
base/updaterdialog.cpp \
|
|
|
|
base/x_checkboxdelegate.cpp \
|
|
|
|
base/x_spinboxdelegate.cpp \
|
|
|
|
base/x_timeeditdelegate.cpp \
|
|
|
|
base/x_uimsgboxok.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
base/extendedgroupbox.cpp \
|
2022-10-27 15:07:45 +08:00
|
|
|
base/ffutil.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
base/locolorselector.cpp \
|
|
|
|
base/lodateselector.cpp \
|
|
|
|
base/loqtitlebar.cpp \
|
|
|
|
base/loqtreewidget.cpp \
|
|
|
|
base/table.cpp \
|
|
|
|
base/waitingdlg.cpp \
|
|
|
|
basedlg.cpp \
|
|
|
|
basewin.cpp \
|
2022-01-20 10:08:17 +08:00
|
|
|
cfg.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
communication/hpptclient.cpp \
|
|
|
|
communication/taserialthread.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
devicectrlpanel.cpp \
|
|
|
|
deviceitem.cpp \
|
|
|
|
devicepanel.cpp \
|
|
|
|
ffplayer.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
globaldefine.cpp \
|
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
mguangyingpinwidget.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
passwordindlg.cpp \
|
2022-01-20 10:08:17 +08:00
|
|
|
player/digiclock.cpp \
|
|
|
|
player/eleanaclock.cpp \
|
|
|
|
player/elebase.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
player/eleborder.cpp \
|
2022-01-20 10:08:17 +08:00
|
|
|
player/elegif.cpp \
|
|
|
|
player/eleimg.cpp \
|
|
|
|
player/elemultipng.cpp \
|
|
|
|
player/elescroll.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
player/eletimer.cpp \
|
2022-01-20 10:08:17 +08:00
|
|
|
player/elevideo.cpp \
|
|
|
|
player/playwin.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
player/posdlg.cpp \
|
|
|
|
progpanel.cpp \
|
|
|
|
synctimer.cpp \
|
|
|
|
tcpsocket.cpp \
|
|
|
|
test.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
tipdialog.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
tools.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
wDevicesManager/controlencryptwidget.cpp \
|
|
|
|
wDevicesManager/controlhdmischedule.cpp \
|
|
|
|
wDevicesManager/controlhdmiwidget.cpp \
|
|
|
|
wDevicesManager/controlnetconfigwidget.cpp \
|
|
|
|
wDevicesManager/controlpowermanual.cpp \
|
|
|
|
wDevicesManager/controlpowerschedule.cpp \
|
|
|
|
wDevicesManager/controlpowerwidget.cpp \
|
|
|
|
wDevicesManager/controltestwidget.cpp \
|
|
|
|
wDevicesManager/controlvolumemanual.cpp \
|
|
|
|
wDevicesManager/controlvolumeschedule.cpp \
|
|
|
|
wDevicesManager/controlvolumewidget.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
wDevicesManager/ctrladvancedpanel.cpp \
|
|
|
|
wDevicesManager/ctrlbrightpanel.cpp \
|
2022-10-27 15:07:45 +08:00
|
|
|
wDevicesManager/ctrlverifyclockpanel.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
wDevicesManager/ledcard.cpp \
|
|
|
|
wDevicesManager/threadupgradeapk.cpp \
|
|
|
|
wDevicesManager/upgradeapkdialog.cpp \
|
|
|
|
wDevicesManager/wupgradeapkitem.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/eaclock.cpp \
|
|
|
|
wProgramManager/eaudio.cpp \
|
|
|
|
wProgramManager/ebase.cpp \
|
|
|
|
wProgramManager/edclock.cpp \
|
|
|
|
wProgramManager/eenviron.cpp \
|
|
|
|
wProgramManager/egif.cpp \
|
|
|
|
wProgramManager/emultiwin.cpp \
|
|
|
|
wProgramManager/ephoto.cpp \
|
|
|
|
wProgramManager/etext.cpp \
|
|
|
|
wProgramManager/etimer.cpp \
|
|
|
|
wProgramManager/evideo.cpp \
|
|
|
|
wProgramManager/eweb.cpp \
|
2022-10-27 15:07:45 +08:00
|
|
|
wProgramManager/gentmpthread.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/pageeditor.cpp \
|
|
|
|
wProgramManager/pagelistitem.cpp \
|
2022-09-30 18:08:39 +08:00
|
|
|
wProgramManager/progcreatedlg.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/progeditorwin.cpp \
|
2022-09-30 18:08:39 +08:00
|
|
|
wProgramManager/progitem.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
wProgramManager/sendprogramdialog.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/sendprogthread.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
wProgramManager/threadexportprogrampro.cpp \
|
|
|
|
wProgramManager/usbdetectdialog.cpp \
|
2022-10-27 15:07:45 +08:00
|
|
|
wProgramManager/videosplitthread.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
wProgramManager/wexportprogramitem.cpp \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/wplanitem.cpp \
|
|
|
|
wProgramManager/wplanlist.cpp \
|
2022-01-04 18:11:48 +08:00
|
|
|
wProgramManager/wprogrampublishitem.cpp \
|
|
|
|
|
|
|
|
HEADERS += \
|
2022-10-27 15:07:45 +08:00
|
|
|
base/aboutdlg.h \
|
|
|
|
base/changepasswordform.h \
|
|
|
|
base/customprogressindicator.h \
|
|
|
|
base/loemptydialog.h \
|
|
|
|
base/pixbmpshowdialog.h \
|
|
|
|
base/qiplineedit.h \
|
|
|
|
base/softconfigdialog.h \
|
|
|
|
base/switchcontrol.h \
|
|
|
|
base/taesclass.h \
|
|
|
|
base/updateledset3dialog.h \
|
|
|
|
base/updaterdialog.h \
|
|
|
|
base/x_checkboxdelegate.h \
|
|
|
|
base/x_spinboxdelegate.h \
|
|
|
|
base/x_timeeditdelegate.h \
|
|
|
|
base/x_uimsgboxok.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
base/extendedgroupbox.h \
|
|
|
|
base/locolorselector.h \
|
|
|
|
base/lodateselector.h \
|
|
|
|
base/loqtitlebar.h \
|
|
|
|
base/loqtreewidget.h \
|
|
|
|
base/table.h \
|
|
|
|
base/waitingdlg.h \
|
|
|
|
basedlg.h \
|
|
|
|
basewin.h \
|
2022-01-20 10:08:17 +08:00
|
|
|
cfg.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
communication/hpptclient.h \
|
|
|
|
communication/taserialthread.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
devicectrlpanel.h \
|
|
|
|
deviceitem.h \
|
|
|
|
devicepanel.h \
|
|
|
|
ffplayer.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
globaldefine.h \
|
2022-01-20 10:08:17 +08:00
|
|
|
gqt.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
mainwindow.h \
|
|
|
|
mguangyingpinwidget.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
passwordindlg.h \
|
2022-01-20 10:08:17 +08:00
|
|
|
player/digiclock.h \
|
|
|
|
player/eleanaclock.h \
|
|
|
|
player/elebase.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
player/eleborder.h \
|
2022-01-20 10:08:17 +08:00
|
|
|
player/elegif.h \
|
|
|
|
player/eleimg.h \
|
|
|
|
player/elemultipng.h \
|
|
|
|
player/elescroll.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
player/eletimer.h \
|
2022-01-20 10:08:17 +08:00
|
|
|
player/elevideo.h \
|
|
|
|
player/playwin.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
player/posdlg.h \
|
|
|
|
progpanel.h \
|
|
|
|
synctimer.h \
|
|
|
|
tcpsocket.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
tipdialog.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
tools.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
wDevicesManager/controlencryptwidget.h \
|
|
|
|
wDevicesManager/controlhdmischedule.h \
|
|
|
|
wDevicesManager/controlhdmiwidget.h \
|
|
|
|
wDevicesManager/controlnetconfigwidget.h \
|
|
|
|
wDevicesManager/controlpowermanual.h \
|
|
|
|
wDevicesManager/controlpowerschedule.h \
|
|
|
|
wDevicesManager/controlpowerwidget.h \
|
|
|
|
wDevicesManager/controltestwidget.h \
|
|
|
|
wDevicesManager/controlvolumemanual.h \
|
|
|
|
wDevicesManager/controlvolumeschedule.h \
|
|
|
|
wDevicesManager/controlvolumewidget.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
wDevicesManager/ctrladvancedpanel.h \
|
|
|
|
wDevicesManager/ctrlbrightpanel.h \
|
2022-10-27 15:07:45 +08:00
|
|
|
wDevicesManager/ctrlverifyclockpanel.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
wDevicesManager/ledcard.h \
|
|
|
|
wDevicesManager/threadupgradeapk.h \
|
|
|
|
wDevicesManager/upgradeapkdialog.h \
|
|
|
|
wDevicesManager/wupgradeapkitem.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/eaclock.h \
|
|
|
|
wProgramManager/eaudio.h \
|
|
|
|
wProgramManager/ebase.h \
|
|
|
|
wProgramManager/edclock.h \
|
|
|
|
wProgramManager/eenviron.h \
|
|
|
|
wProgramManager/egif.h \
|
|
|
|
wProgramManager/emultiwin.h \
|
|
|
|
wProgramManager/ephoto.h \
|
|
|
|
wProgramManager/etext.h \
|
|
|
|
wProgramManager/etimer.h \
|
|
|
|
wProgramManager/evideo.h \
|
|
|
|
wProgramManager/eweb.h \
|
2022-10-27 15:07:45 +08:00
|
|
|
wProgramManager/gentmpthread.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/pageeditor.h \
|
|
|
|
wProgramManager/pagelistitem.h \
|
2022-09-30 18:08:39 +08:00
|
|
|
wProgramManager/progcreatedlg.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/progeditorwin.h \
|
2022-09-30 18:08:39 +08:00
|
|
|
wProgramManager/progitem.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
wProgramManager/sendprogramdialog.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/sendprogthread.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
wProgramManager/threadexportprogrampro.h \
|
|
|
|
wProgramManager/usbdetectdialog.h \
|
2022-10-27 15:07:45 +08:00
|
|
|
wProgramManager/videosplitthread.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
wProgramManager/wexportprogramitem.h \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/wplanitem.h \
|
|
|
|
wProgramManager/wplanlist.h \
|
2022-01-04 18:11:48 +08:00
|
|
|
wProgramManager/wprogrampublishitem.h \
|
|
|
|
|
|
|
|
FORMS += \
|
2022-10-27 15:07:45 +08:00
|
|
|
base/pixbmpshowdialog.ui \
|
|
|
|
base/updateledset3dialog.ui \
|
|
|
|
base/updaterdialog.ui \
|
|
|
|
base/x_uimsgboxok.ui \
|
2022-01-04 18:11:48 +08:00
|
|
|
mguangyingpinwidget.ui \
|
|
|
|
tipdialog.ui \
|
|
|
|
wDevicesManager/controlencryptwidget.ui \
|
|
|
|
wDevicesManager/controlhdmischedule.ui \
|
|
|
|
wDevicesManager/controlpowermanual.ui \
|
|
|
|
wDevicesManager/controlpowerschedule.ui \
|
|
|
|
wDevicesManager/controlpowerwidget.ui \
|
|
|
|
wDevicesManager/controltestwidget.ui \
|
|
|
|
wDevicesManager/controlvolumemanual.ui \
|
|
|
|
wDevicesManager/controlvolumeschedule.ui \
|
|
|
|
wDevicesManager/controlvolumewidget.ui \
|
|
|
|
wDevicesManager/upgradeapkdialog.ui \
|
2022-08-25 18:37:24 +08:00
|
|
|
wProgramManager/wplanitem.ui \
|
2022-01-04 18:11:48 +08:00
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
TRANSLATIONS += \
|
|
|
|
translations/app_zh_CN.ts \
|
|
|
|
translations/app_zh_TW.ts \
|
|
|
|
translations/app_ja.ts \
|
|
|
|
translations/app_en.ts
|
2022-01-04 18:11:48 +08:00
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
EXTRA_TRANSLATIONS += \
|
|
|
|
translations/qt_zh_CN.ts \
|
|
|
|
translations/qt_zh_TW.ts \
|
|
|
|
translations/qt_ja.ts \
|
|
|
|
translations/qt_en.ts
|
2022-01-04 18:11:48 +08:00
|
|
|
|
|
|
|
RESOURCES += \
|
2022-08-25 18:37:24 +08:00
|
|
|
res.qrc \
|
2022-01-04 18:11:48 +08:00
|
|
|
qss.qrc
|
|
|
|
|
|
|
|
win32:RC_ICONS = res/Logo.ico
|
|
|
|
osx:ICON = res/Logo.icns
|
|
|
|
|
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
2022-01-04 18:11:48 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
INCLUDEPATH += $$PWD/ffmpeg/include
|
|
|
|
LIBS += -L$$PWD/ffmpeg/lib/\
|
2022-01-04 18:11:48 +08:00
|
|
|
-lavcodec \
|
|
|
|
-lavdevice \
|
|
|
|
-lavfilter \
|
|
|
|
-lavformat \
|
|
|
|
-lavutil \
|
|
|
|
-lswresample \
|
2022-08-25 18:37:24 +08:00
|
|
|
-lswscale
|
|
|
|
|
2022-09-15 00:37:44 +08:00
|
|
|
copy.files += $$files(ffmpeg/bin/*.dll)
|
|
|
|
copy.files += ffmpeg/bin/ffmpeg.exe
|
2022-08-25 18:37:24 +08:00
|
|
|
|
|
|
|
include(./xlsx/qtxlsx.pri)
|
|
|
|
include(./QSimpleUpdater/QSimpleUpdater.pri)
|
|
|
|
|
|
|
|
# for https requests
|
2022-09-15 00:37:44 +08:00
|
|
|
copy2.files += $$files(OpenSSL/*.dll)
|
2022-08-25 18:37:24 +08:00
|
|
|
|
|
|
|
copy.files += 7z/7z.dll
|
|
|
|
copy.files += 7z/7z.exe
|
2022-01-04 18:11:48 +08:00
|
|
|
|
2022-09-15 00:37:44 +08:00
|
|
|
copy.path = $$OUT_PWD
|
|
|
|
copy2.path = $$OUT_PWD/release
|
2022-01-20 10:08:17 +08:00
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
CONFIG += file_copies
|
|
|
|
COPIES += copy
|
2022-09-15 00:37:44 +08:00
|
|
|
COPIES += copy2
|