AdaptiveBrightness/README.md

46 lines
862 B
Markdown
Raw Normal View History

2020-06-21 17:49:48 +02:00
# AdaptiveBrightness
2020-06-21 20:03:08 +02:00
## Build and deployment instructions
2020-06-21 18:00:40 +02:00
2020-06-21 20:03:08 +02:00
### Windows
2020-06-21 18:00:40 +02:00
#### Prerequisites
- Visual Studio 2019
- Qt Visual Studio Tools
- Qt Library
#### Build steps
Open the `sln` and build.
2020-06-21 20:03:08 +02:00
#### 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
2020-06-21 18:00:40 +02:00
#### Prerequisites
Assumes Debian Buster: `sudo apt install qt5-default libqt5serialport5-dev`
#### Build steps
```console
$ qmake CONFIG+=release # or CONFIG+=debug
$ make
```
2020-06-21 20:03:08 +02:00
#### Deployment
Executable will run on any environment with the same architecture and installed libraries.