QT += core gui widgets QT += multimedia QT += network QT += concurrent QT += serialport QT += opengl QT += webenginewidgets CONFIG += c++11 CONFIG += lrelease CONFIG += embed_translations # CONFIG += console # 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 TARGET = $$quote(LedOK Express) VERSION = 1.2.8 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 } SOURCES += \ LoUIClass/aboutdlg.cpp \ LoUIClass/changepasswordform.cpp \ LoUIClass/customprogressindicator.cpp \ LoUIClass/loemptydialog.cpp \ LoUIClass/pixbmpshowdialog.cpp \ LoUIClass/qiplineedit.cpp \ LoUIClass/softconfigdialog.cpp \ LoUIClass/switchcontrol.cpp \ LoUIClass/taesclass.cpp \ LoUIClass/updateledset3dialog.cpp \ LoUIClass/updaterdialog.cpp \ LoUIClass/x_checkboxdelegate.cpp \ LoUIClass/x_spinboxdelegate.cpp \ LoUIClass/x_timeeditdelegate.cpp \ LoUIClass/x_uimsgboxok.cpp \ base/extendedgroupbox.cpp \ base/locolorselector.cpp \ base/lodateselector.cpp \ base/loqtitlebar.cpp \ base/loqtreewidget.cpp \ base/networkmanager.cpp \ base/table.cpp \ base/waitingdlg.cpp \ basedlg.cpp \ basewin.cpp \ cfg.cpp \ communication/hpptclient.cpp \ communication/network.cpp \ communication/taserialthread.cpp \ devicectrlpanel.cpp \ deviceitem.cpp \ devicepanel.cpp \ ffplayer.cpp \ globaldefine.cpp \ main.cpp \ mainwindow.cpp \ mguangyingpinwidget.cpp \ passwordindlg.cpp \ player/digiclock.cpp \ player/eleanaclock.cpp \ player/elebase.cpp \ player/eleborder.cpp \ player/elegif.cpp \ player/eleimg.cpp \ player/elemultipng.cpp \ player/elescroll.cpp \ player/eletimer.cpp \ player/elevideo.cpp \ player/playwin.cpp \ player/posdlg.cpp \ progpanel.cpp \ synctimer.cpp \ tcpsocket.cpp \ test.cpp \ tipdialog.cpp \ tools.cpp \ wDevicesManager/controlencryptwidget.cpp \ wDevicesManager/controlhdmimanual.cpp \ wDevicesManager/controlhdmischedule.cpp \ wDevicesManager/controlhdmiwidget.cpp \ wDevicesManager/controlnetconfigwidget.cpp \ wDevicesManager/controlpowermanual.cpp \ wDevicesManager/controlpowerschedule.cpp \ wDevicesManager/controlpowerwidget.cpp \ wDevicesManager/controltestwidget.cpp \ wDevicesManager/controlverifyclockwidget.cpp \ wDevicesManager/controlvolumemanual.cpp \ wDevicesManager/controlvolumeschedule.cpp \ wDevicesManager/controlvolumewidget.cpp \ wDevicesManager/ctrladvancedpanel.cpp \ wDevicesManager/ctrlbrightpanel.cpp \ wDevicesManager/ledcard.cpp \ wDevicesManager/specialdlg.cpp \ wDevicesManager/threadupgradeapk.cpp \ wDevicesManager/upgradeapkdialog.cpp \ wDevicesManager/wupgradeapkitem.cpp \ 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 \ wProgramManager/mconverter.cpp \ wProgramManager/pageeditor.cpp \ wProgramManager/pagelistitem.cpp \ wProgramManager/progeditorwin.cpp \ wProgramManager/sendprogramdialog.cpp \ wProgramManager/sendprogthread.cpp \ wProgramManager/threadexportprogrampro.cpp \ wProgramManager/usbdetectdialog.cpp \ wProgramManager/wexportprogramitem.cpp \ wProgramManager/wnewprogram.cpp \ wProgramManager/wplanitem.cpp \ wProgramManager/wplanlist.cpp \ wProgramManager/wprogramitem.cpp \ wProgramManager/wprogrampublishitem.cpp \ HEADERS += \ LoUIClass/aboutdlg.h \ LoUIClass/changepasswordform.h \ LoUIClass/customprogressindicator.h \ LoUIClass/loemptydialog.h \ LoUIClass/pixbmpshowdialog.h \ LoUIClass/qiplineedit.h \ LoUIClass/softconfigdialog.h \ LoUIClass/switchcontrol.h \ LoUIClass/taesclass.h \ LoUIClass/updateledset3dialog.h \ LoUIClass/updaterdialog.h \ LoUIClass/x_checkboxdelegate.h \ LoUIClass/x_spinboxdelegate.h \ LoUIClass/x_timeeditdelegate.h \ LoUIClass/x_uimsgboxok.h \ base/extendedgroupbox.h \ base/locolorselector.h \ base/lodateselector.h \ base/loqtitlebar.h \ base/loqtreewidget.h \ base/networkmanager.h \ base/table.h \ base/waitingdlg.h \ basedlg.h \ basewin.h \ cfg.h \ communication/hpptclient.h \ communication/network.h \ communication/taserialthread.h \ devicectrlpanel.h \ deviceitem.h \ devicepanel.h \ ffplayer.h \ globaldefine.h \ gqt.h \ mainwindow.h \ mguangyingpinwidget.h \ passwordindlg.h \ player/digiclock.h \ player/eleanaclock.h \ player/elebase.h \ player/eleborder.h \ player/elegif.h \ player/eleimg.h \ player/elemultipng.h \ player/elescroll.h \ player/eletimer.h \ player/elevideo.h \ player/playwin.h \ player/posdlg.h \ progpanel.h \ synctimer.h \ tcpsocket.h \ tipdialog.h \ tools.h \ wDevicesManager/controlencryptwidget.h \ wDevicesManager/controlhdmimanual.h \ wDevicesManager/controlhdmischedule.h \ wDevicesManager/controlhdmiwidget.h \ wDevicesManager/controlnetconfigwidget.h \ wDevicesManager/controlpowermanual.h \ wDevicesManager/controlpowerschedule.h \ wDevicesManager/controlpowerwidget.h \ wDevicesManager/controltestwidget.h \ wDevicesManager/controlverifyclockwidget.h \ wDevicesManager/controlvolumemanual.h \ wDevicesManager/controlvolumeschedule.h \ wDevicesManager/controlvolumewidget.h \ wDevicesManager/ctrladvancedpanel.h \ wDevicesManager/ctrlbrightpanel.h \ wDevicesManager/ledcard.h \ wDevicesManager/specialdlg.h \ wDevicesManager/threadupgradeapk.h \ wDevicesManager/upgradeapkdialog.h \ wDevicesManager/wupgradeapkitem.h \ 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 \ wProgramManager/mconverter.h \ wProgramManager/pageeditor.h \ wProgramManager/pagelistitem.h \ wProgramManager/progeditorwin.h \ wProgramManager/sendprogramdialog.h \ wProgramManager/sendprogthread.h \ wProgramManager/threadexportprogrampro.h \ wProgramManager/usbdetectdialog.h \ wProgramManager/wexportprogramitem.h \ wProgramManager/wnewprogram.h \ wProgramManager/wplanitem.h \ wProgramManager/wplanlist.h \ wProgramManager/wprogramitem.h \ wProgramManager/wprogrampublishitem.h \ FORMS += \ LoUIClass/pixbmpshowdialog.ui \ LoUIClass/updateledset3dialog.ui \ LoUIClass/updaterdialog.ui \ LoUIClass/x_uimsgboxok.ui \ mguangyingpinwidget.ui \ tipdialog.ui \ wDevicesManager/controlencryptwidget.ui \ wDevicesManager/controlhdmimanual.ui \ wDevicesManager/controlhdmischedule.ui \ wDevicesManager/controlhdmiwidget.ui \ wDevicesManager/controlpowermanual.ui \ wDevicesManager/controlpowerschedule.ui \ wDevicesManager/controlpowerwidget.ui \ wDevicesManager/controltestwidget.ui \ wDevicesManager/controlverifyclockwidget.ui \ wDevicesManager/controlvolumemanual.ui \ wDevicesManager/controlvolumeschedule.ui \ wDevicesManager/controlvolumewidget.ui \ wDevicesManager/upgradeapkdialog.ui \ wProgramManager/wnewprogram.ui \ wProgramManager/wplanitem.ui \ TRANSLATIONS += \ translations/app_zh_CN.ts \ translations/app_zh_TW.ts \ translations/app_ja.ts \ translations/app_en.ts EXTRA_TRANSLATIONS += \ translations/qt_zh_CN.ts \ translations/qt_zh_TW.ts \ translations/qt_ja.ts \ translations/qt_en.ts RESOURCES += \ res.qrc \ qss.qrc win32:RC_ICONS = res/Logo.ico osx:ICON = res/Logo.icns # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target INCLUDEPATH += $$PWD/ffmpeg/include LIBS += -L$$PWD/ffmpeg/lib/\ -lavcodec \ -lavdevice \ -lavfilter \ -lavformat \ -lavutil \ -lswresample \ -lswscale copy.files += $$files(ffmpeg/lib/*.dll) include(./xlsx/qtxlsx.pri) include(./QSimpleUpdater/QSimpleUpdater.pri) # for https requests copy.files += $$files(OpenSSL/*.dll) copy.files += 7z/7z.dll copy.files += 7z/7z.exe copy.path = $$OUT_PWD/release CONFIG += file_copies COPIES += copy