Index: denali.pro =================================================================== diff -u -r193d7f4cf456dbcf0b4aee1edbacdeb8d5706967 -r99cf0dc3002c0395f0d10d1d4fb34e2052449fd6 --- denali.pro (.../denali.pro) (revision 193d7f4cf456dbcf0b4aee1edbacdeb8d5706967) +++ denali.pro (.../denali.pro) (revision 99cf0dc3002c0395f0d10d1d4fb34e2052449fd6) @@ -43,6 +43,19 @@ # 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 + +# For Update shared code, we're compiling for the UI: +DEFINES += COMPILING_ON_UI + +# This is targeting Qt 5.15 which relies on being binary +# compatible with openssl 1.1.1, most older versions require +# 1.0.0c. 1.1.1 must be installed on the target. +# Use: +# sudo apt-get install openssl +# Or maybe: +# sudo apt-get install libssl-dev +LIBS += -lssl -lcrypto + INCLUDEPATH += \ common \ sources \ @@ -78,6 +91,7 @@ sources/model/dg/data/disinfect \ sources/model/dg/adjustment \ sources/model/dg/adjustment/settings \ + sources/update \ sources/view \ sources/view/confirm \ sources/view/settings \ @@ -269,6 +283,19 @@ sources/gui/GuiGlobals.h \ sources/gui/GuiView.h \ sources/gui/GuiController.h \ + \ # SW Update + sources/update/EventWait.h \ + sources/update/HalStdTypes.h \ + sources/update/IDataProvider.h \ + sources/update/MsgLink.h \ + sources/update/Obfuscate.h \ + sources/update/Package.h \ + sources/update/SignRsa.h \ + sources/update/UiProtocol.h \ + sources/update/UiSwUpdate.h \ + sources/update/UiUpdateStatus.h \ + sources/update/UpdateProtocol.h \ + sources/update/VSwUpdate.h \ \ # ---------- Views ---------- sources/view/VTreatmentCreate.h \ sources/view/VEventSpy.h \ @@ -538,6 +565,15 @@ sources/gui/GuiGlobals.cpp \ sources/gui/GuiView.cpp \ sources/gui/GuiController.cpp \ + \ # Update + sources/update/Obfuscate.cpp \ + sources/update/Package.cpp \ + sources/update/PackageItem.cpp \ + sources/update/SignRsa.cpp \ + sources/update/UiProtocol.cpp \ + sources/update/UiSwUpdate.cpp \ + sources/update/UpdateProtocol.c \ + sources/update/VSwUpdate.cpp \ \ # ---------- Views ---------- sources/view/VTreatmentCreate.cpp \ sources/view/VEventSpy.cpp \