Add deployment documentation

This commit is contained in:
BlackMark 2020-06-21 20:03:08 +02:00
parent 952f7df4fd
commit ac05e30bfe

View File

@ -1,8 +1,8 @@
# AdaptiveBrightness # AdaptiveBrightness
## Build instructions ## Build and deployment instructions
### Build on windows ### Windows
#### Prerequisites #### Prerequisites
@ -14,7 +14,20 @@
Open the `sln` and build. Open the `sln` and build.
### Build on linux #### Deployment steps
The example here is for deploying an x64 Release build, but other build work analogously.
Start a `x64 Native Tools Command Prompt for VS 2019`:
```console
> cd %QTDIR%\msvc2019_64\bin
> set PATH=%PATH%;%CD%
> cd %DEV%\AdaptiveBrightness\AdaptiveBrightness
> windeployqt --no-system-d3d-compiler ..\x64\Release\AdaptiveBrightness.exe
```
### Linux
#### Prerequisites #### Prerequisites
@ -26,3 +39,7 @@ Assumes Debian Buster: `sudo apt install qt5-default libqt5serialport5-dev`
$ qmake CONFIG+=release # or CONFIG+=debug $ qmake CONFIG+=release # or CONFIG+=debug
$ make $ make
``` ```
#### Deployment
Executable will run on any environment with the same architecture and installed libraries.