diff --git a/LedOK/7z/readme.txt b/LedOK/7z/readme.txt
index 4437a5c..1f7c2a3 100644
--- a/LedOK/7z/readme.txt
+++ b/LedOK/7z/readme.txt
@@ -1,51 +1,51 @@
-7-Zip 21.07
------------
-
-7-Zip is a file archiver for Windows.
-
-7-Zip Copyright (C) 1999-2021 Igor Pavlov.
-
-The main features of 7-Zip:
-
- - High compression ratio in the new 7z format
- - Supported formats:
- - Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM.
- - Unpacking only: AR, ARJ, Base64, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS,
- IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR,
- RPM, SquashFS, UDF, UEFI, VDI, VHD, VHDX, VMDK, XAR and Z.
- - Fast compression and decompression
- - Self-extracting capability for 7z format
- - Strong AES-256 encryption in 7z and ZIP formats
- - Integration with Windows Shell
- - Powerful File Manager
- - Powerful command line version
- - Localizations for 90 languages
-
-
-7-Zip is free software distributed under the GNU LGPL (except for unRar code).
-Read License.txt for more information about license.
-
-
- This distribution package contains the following files:
-
- 7zFM.exe - 7-Zip File Manager
- 7-zip.dll - Plugin for Windows Shell
- 7-zip32.dll - Plugin for Windows Shell (32-bit plugin for 64-bit system)
- 7zg.exe - GUI module
- 7z.exe - Command line version
- 7z.dll - 7-Zip engine module
- 7z.sfx - SFX module (Windows version)
- 7zCon.sfx - SFX module (Console version)
-
- License.txt - License information
- readme.txt - This file
- History.txt - History of 7-Zip
- 7-zip.chm - User's Manual in HTML Help format
- descript.ion - Description for files
-
- Lang\en.ttt - English (base) localization file
- Lang\*.txt - Localization files
-
-
----
-End of document
+7-Zip 21.07
+-----------
+
+7-Zip is a file archiver for Windows.
+
+7-Zip Copyright (C) 1999-2021 Igor Pavlov.
+
+The main features of 7-Zip:
+
+ - High compression ratio in the new 7z format
+ - Supported formats:
+ - Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM.
+ - Unpacking only: AR, ARJ, Base64, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS,
+ IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR,
+ RPM, SquashFS, UDF, UEFI, VDI, VHD, VHDX, VMDK, XAR and Z.
+ - Fast compression and decompression
+ - Self-extracting capability for 7z format
+ - Strong AES-256 encryption in 7z and ZIP formats
+ - Integration with Windows Shell
+ - Powerful File Manager
+ - Powerful command line version
+ - Localizations for 90 languages
+
+
+7-Zip is free software distributed under the GNU LGPL (except for unRar code).
+Read License.txt for more information about license.
+
+
+ This distribution package contains the following files:
+
+ 7zFM.exe - 7-Zip File Manager
+ 7-zip.dll - Plugin for Windows Shell
+ 7-zip32.dll - Plugin for Windows Shell (32-bit plugin for 64-bit system)
+ 7zg.exe - GUI module
+ 7z.exe - Command line version
+ 7z.dll - 7-Zip engine module
+ 7z.sfx - SFX module (Windows version)
+ 7zCon.sfx - SFX module (Console version)
+
+ License.txt - License information
+ readme.txt - This file
+ History.txt - History of 7-Zip
+ 7-zip.chm - User's Manual in HTML Help format
+ descript.ion - Description for files
+
+ Lang\en.ttt - English (base) localization file
+ Lang\*.txt - Localization files
+
+
+---
+End of document
diff --git a/LedOK/LedOK.pro b/LedOK/LedOK.pro
index 9a7adde..baeca29 100644
--- a/LedOK/LedOK.pro
+++ b/LedOK/LedOK.pro
@@ -1,313 +1,300 @@
-QT += core gui widgets
-QT += multimedia
-QT += network
-QT += concurrent
-QT += serialport
-QT += opengl
-QT += webenginewidgets
-
-CONFIG += c++20
-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.3.0
-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 += \
- 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 \
- base/extendedgroupbox.cpp \
- base/ffutil.cpp \
- base/locolorselector.cpp \
- base/lodateselector.cpp \
- base/loqtitlebar.cpp \
- base/loqtreewidget.cpp \
- base/table.cpp \
- base/waitingdlg.cpp \
- basedlg.cpp \
- basewin.cpp \
- cfg.cpp \
- communication/hpptclient.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/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 \
- wDevicesManager/ctrladvancedpanel.cpp \
- wDevicesManager/ctrlbrightpanel.cpp \
- wDevicesManager/ctrlverifyclockpanel.cpp \
- wDevicesManager/ledcard.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/gentmpthread.cpp \
- wProgramManager/pageeditor.cpp \
- wProgramManager/pagelistitem.cpp \
- wProgramManager/progcreatedlg.cpp \
- wProgramManager/progeditorwin.cpp \
- wProgramManager/progitem.cpp \
- wProgramManager/sendprogramdialog.cpp \
- wProgramManager/sendprogthread.cpp \
- wProgramManager/threadexportprogrampro.cpp \
- wProgramManager/usbdetectdialog.cpp \
- wProgramManager/videosplitthread.cpp \
- wProgramManager/wexportprogramitem.cpp \
- wProgramManager/wplanitem.cpp \
- wProgramManager/wplanlist.cpp \
- wProgramManager/wprogrampublishitem.cpp \
-
-HEADERS += \
- 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 \
- 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 \
- cfg.h \
- communication/hpptclient.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/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 \
- wDevicesManager/ctrladvancedpanel.h \
- wDevicesManager/ctrlbrightpanel.h \
- wDevicesManager/ctrlverifyclockpanel.h \
- wDevicesManager/ledcard.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/gentmpthread.h \
- wProgramManager/pageeditor.h \
- wProgramManager/pagelistitem.h \
- wProgramManager/progcreatedlg.h \
- wProgramManager/progeditorwin.h \
- wProgramManager/progitem.h \
- wProgramManager/sendprogramdialog.h \
- wProgramManager/sendprogthread.h \
- wProgramManager/threadexportprogrampro.h \
- wProgramManager/usbdetectdialog.h \
- wProgramManager/videosplitthread.h \
- wProgramManager/wexportprogramitem.h \
- wProgramManager/wplanitem.h \
- wProgramManager/wplanlist.h \
- wProgramManager/wprogrampublishitem.h \
-
-FORMS += \
- base/pixbmpshowdialog.ui \
- base/updateledset3dialog.ui \
- base/updaterdialog.ui \
- base/x_uimsgboxok.ui \
- 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 \
- 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/bin/*.dll)
-copy.files += ffmpeg/bin/ffmpeg.exe
-
-include(./xlsx/qtxlsx.pri)
-include(./QSimpleUpdater/QSimpleUpdater.pri)
-
-# for https requests
-copy2.files += $$files(OpenSSL/*.dll)
-
-copy.files += 7z/7z.dll
-copy.files += 7z/7z.exe
-
-copy.path = $$OUT_PWD
-copy2.path = $$OUT_PWD/release
-
-CONFIG += file_copies
-COPIES += copy
-COPIES += copy2
+QT += core gui widgets
+QT += multimedia
+QT += network
+QT += concurrent
+QT += serialport
+QT += opengl
+QT += webenginewidgets
+
+CONFIG += c++20
+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.3.5
+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
+
+# QMAKE_LFLAGS_RELEASE += /MAP
+# QMAKE_CFLAGS_RELEASE += /Zi
+# QMAKE_LFLAGS_RELEASE += /debug /opt:ref
+
+# QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
+# QMAKE_LFLAGS_RELEASE += $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO
+
+ LIBS += -lDbgHelp
+}
+win* {
+ LIBS += -lwinmm
+ LIBS += -lDbghelp
+}
+win32 {
+QMAKE_LFLAGS += /LARGEADDRESSAWARE
+#QMAKE_LFLAGS += -Wl,--large-address-aware
+}
+
+SOURCES += \
+ 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/x_checkboxdelegate.cpp \
+ base/x_spinboxdelegate.cpp \
+ base/x_timeeditdelegate.cpp \
+ base/x_uimsgboxok.cpp \
+ base/extendedgroupbox.cpp \
+ base/ffutil.cpp \
+ base/locolorselector.cpp \
+ base/lodateselector.cpp \
+ base/loqtitlebar.cpp \
+ base/loqtreewidget.cpp \
+ base/waitingdlg.cpp \
+ basedlg.cpp \
+ basewin.cpp \
+ cfg.cpp \
+ communication/hpptclient.cpp \
+ communication/taserialthread.cpp \
+ device/ctrlhdmipanel.cpp \
+ device/ctrlnetworkpanel.cpp \
+ device/ctrlpwdpanel.cpp \
+ devicectrlpanel.cpp \
+ deviceitem.cpp \
+ devicepanel.cpp \
+ ffplayer.cpp \
+ globaldefine.cpp \
+ gutil/qgui.cpp \
+ gutil/qnetwork.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 \
+ test.cpp \
+ tools.cpp \
+ device/controlpowerschedule.cpp \
+ device/controlpowerwidget.cpp \
+ device/controltestwidget.cpp \
+ device/controlvolumeschedule.cpp \
+ device/controlvolumewidget.cpp \
+ device/ctrladvancedpanel.cpp \
+ device/ctrlbrightpanel.cpp \
+ device/ctrlverifyclockpanel.cpp \
+ device/ledcard.cpp \
+ device/upgradeapkdialog.cpp \
+ device/wupgradeapkitem.cpp \
+ program/copydirthread.cpp \
+ program/eaclock.cpp \
+ program/eaudio.cpp \
+ program/ebase.cpp \
+ program/edclock.cpp \
+ program/eenviron.cpp \
+ program/egif.cpp \
+ program/emultiwin.cpp \
+ program/ephoto.cpp \
+ program/etext.cpp \
+ program/etimer.cpp \
+ program/evideo.cpp \
+ program/eweb.cpp \
+ program/gentmpthread.cpp \
+ program/pageeditor.cpp \
+ program/pagelistitem.cpp \
+ program/progcreatedlg.cpp \
+ program/progeditorwin.cpp \
+ program/progitem.cpp \
+ program/sendprogramdialog.cpp \
+ program/sendprogthread.cpp \
+ program/usbdetectdialog.cpp \
+ program/videosplitthread.cpp \
+ program/wplanitem.cpp \
+ program/wplanlist.cpp \
+ program/wprogrampublishitem.cpp \
+
+HEADERS += \
+ 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/x_checkboxdelegate.h \
+ base/x_spinboxdelegate.h \
+ base/x_timeeditdelegate.h \
+ base/x_uimsgboxok.h \
+ base/extendedgroupbox.h \
+ base/locolorselector.h \
+ base/lodateselector.h \
+ base/loqtitlebar.h \
+ base/loqtreewidget.h \
+ base/waitingdlg.h \
+ basedlg.h \
+ basewin.h \
+ cfg.h \
+ communication/hpptclient.h \
+ communication/taserialthread.h \
+ device/ctrlhdmipanel.h \
+ device/ctrlnetworkpanel.h \
+ device/ctrlpwdpanel.h \
+ devicectrlpanel.h \
+ deviceitem.h \
+ devicepanel.h \
+ ffplayer.h \
+ globaldefine.h \
+ gutil/qgui.h \
+ gutil/qnetwork.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 \
+ tools.h \
+ device/controlpowerschedule.h \
+ device/controlpowerwidget.h \
+ device/controltestwidget.h \
+ device/controlvolumeschedule.h \
+ device/controlvolumewidget.h \
+ device/ctrladvancedpanel.h \
+ device/ctrlbrightpanel.h \
+ device/ctrlverifyclockpanel.h \
+ device/ledcard.h \
+ device/upgradeapkdialog.h \
+ device/wupgradeapkitem.h \
+ program/copydirthread.h \
+ program/eaclock.h \
+ program/eaudio.h \
+ program/ebase.h \
+ program/edclock.h \
+ program/eenviron.h \
+ program/egif.h \
+ program/emultiwin.h \
+ program/ephoto.h \
+ program/etext.h \
+ program/etimer.h \
+ program/evideo.h \
+ program/eweb.h \
+ program/gentmpthread.h \
+ program/pageeditor.h \
+ program/pagelistitem.h \
+ program/progcreatedlg.h \
+ program/progeditorwin.h \
+ program/progitem.h \
+ program/sendprogramdialog.h \
+ program/sendprogthread.h \
+ program/usbdetectdialog.h \
+ program/videosplitthread.h \
+ program/wplanitem.h \
+ program/wplanlist.h \
+ program/wprogrampublishitem.h \
+
+FORMS += \
+ base/pixbmpshowdialog.ui \
+ base/updateledset3dialog.ui \
+ base/x_uimsgboxok.ui \
+ mguangyingpinwidget.ui \
+ device/controlpowerschedule.ui \
+ device/controltestwidget.ui \
+ device/controlvolumeschedule.ui \
+ program/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
+
+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/bin/*.dll)
+copy.files += ffmpeg/bin/ffmpeg.exe
+
+include(./xlsx/qtxlsx.pri)
+include(./QSimpleUpdater/QSimpleUpdater.pri)
+
+# for https requests
+copy2.files += $$files(OpenSSL/*.dll)
+
+copy.files += 7z/7z.dll
+copy.files += 7z/7z.exe
+
+copy.path = $$OUT_PWD
+copy2.path = $$OUT_PWD/release
+
+copy3.files += $$quote(y50 param)
+copy3.path = $$OUT_PWD/release
+
+CONFIG += file_copies
+COPIES += copy
+COPIES += copy2
+COPIES += copy3
diff --git a/LedOK/QSimpleUpdater/etc/resources/qsimpleupdater.qrc b/LedOK/QSimpleUpdater/etc/resources/qsimpleupdater.qrc
index ac0c9e0..19dbb83 100644
--- a/LedOK/QSimpleUpdater/etc/resources/qsimpleupdater.qrc
+++ b/LedOK/QSimpleUpdater/etc/resources/qsimpleupdater.qrc
@@ -1,5 +1,5 @@
-"
- + tr ("Congratulations! You are running the "
- "latest version of %1").arg (moduleName())
- + "
");
-
- box.exec();
- }
-}
-
-/**
- * Compares the two version strings (\a x and \a y).
- * - If \a x is greater than \y, this function returns \c true.
- * - If \a y is greater than \x, this function returns \c false.
- * - If both versions are the same, this function returns \c false.
- */
-bool Updater::compare(const QString& x, const QString& y) {
- QStringList versionsX = x.split(".");
- QStringList versionsY = y.split(".");
- int count = qMin(versionsX.count(), versionsY.count());
- for (int i = 0; i < count; ++i) {
- int a = QString(versionsX.at (i)).toInt();
- int b = QString(versionsY.at (i)).toInt();
- if(a >= b) return true;
- else if(b > a) return false;
- }
- return versionsY.count() < versionsX.count();
-}
+/*
+ * Copyright (c) 2014-2016 Alex Spataru "
+ + tr ("Congratulations! You are running the "
+ "latest version of %1").arg (moduleName())
+ + "
");
+
+ box.exec();
+ }
+}
+
+/**
+ * Compares the two version strings (\a x and \a y).
+ * - If \a x is greater than \y, this function returns \c true.
+ * - If \a y is greater than \x, this function returns \c false.
+ * - If both versions are the same, this function returns \c false.
+ */
+bool Updater::compare(const QString& x, const QString& y) {
+ QStringList versionsX = x.split(".");
+ QStringList versionsY = y.split(".");
+ int count = qMin(versionsX.count(), versionsY.count());
+ for (int i = 0; i < count; ++i) {
+ int a = QString(versionsX.at (i)).toInt();
+ int b = QString(versionsY.at (i)).toInt();
+ if(a >= b) return true;
+ else if(b > a) return false;
+ }
+ return versionsY.count() < versionsX.count();
+}
diff --git a/LedOK/QSimpleUpdater/src/Updater.h b/LedOK/QSimpleUpdater/src/Updater.h
index 984d30d..9e9c064 100644
--- a/LedOK/QSimpleUpdater/src/Updater.h
+++ b/LedOK/QSimpleUpdater/src/Updater.h
@@ -1,156 +1,156 @@
-/*
- * Copyright (c) 2014-2016 Alex Spataru " +
- QString::fromUtf8 (reply) +
- "
If you need to store more information on the " - "appcast (or use another format), just use the " - "QSimpleUpdater::setCustomAppcast() function. " - "It allows your application to interpret the appcast " - "using your code and not QSU's code.
"; - - m_ui->changelogText->setText (text); - } -} +/* + * Copyright (c) 2014-2016 Alex Spataru" + + QString::fromUtf8 (reply) + + "
If you need to store more information on the " + "appcast (or use another format), just use the " + "QSimpleUpdater::setCustomAppcast() function. " + "It allows your application to interpret the appcast " + "using your code and not QSU's code.
"; + + m_ui->changelogText->setText (text); + } +} diff --git a/LedOK/QSimpleUpdater/tutorial/src/Window.h b/LedOK/QSimpleUpdater/tutorial/src/Window.h index ccd8da2..027508e 100644 --- a/LedOK/QSimpleUpdater/tutorial/src/Window.h +++ b/LedOK/QSimpleUpdater/tutorial/src/Window.h @@ -1,40 +1,40 @@ -/* - * Copyright (c) 2014-2016 Alex Spataru