Add deployment documentation
This commit is contained in:
parent
952f7df4fd
commit
ac05e30bfe
23
README.md
23
README.md
@ -1,8 +1,8 @@
|
||||
# AdaptiveBrightness
|
||||
|
||||
## Build instructions
|
||||
## Build and deployment instructions
|
||||
|
||||
### Build on windows
|
||||
### Windows
|
||||
|
||||
#### Prerequisites
|
||||
|
||||
@ -14,7 +14,20 @@
|
||||
|
||||
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
|
||||
|
||||
@ -26,3 +39,7 @@ Assumes Debian Buster: `sudo apt install qt5-default libqt5serialport5-dev`
|
||||
$ qmake CONFIG+=release # or CONFIG+=debug
|
||||
$ make
|
||||
```
|
||||
|
||||
#### Deployment
|
||||
|
||||
Executable will run on any environment with the same architecture and installed libraries.
|
||||
|
Loading…
Reference in New Issue
Block a user