Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
feat(README): add step-by-step compilation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
urFate committed Jul 11, 2023
1 parent 3c14ae4 commit 20ae53d
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,19 @@ QAdwaitaPlatform

This library uses private Qt headers and will likely not be forward nor backward compatible. This library will have to be recompiled with every Qt update.

```
mkdir build
cd build
cmake [OPTIONS] [-DUSE_QT6=true] ..
make && make install
```
### Step-by-step guide
1. Create 2 directories for Qt 5 and Qt 6 builds

`mkdir build-qt6 build-qt5`
2. Change the directory to one of the previously created ones, **depending on for which version of Qt you are building**. (e.g. `cd build-qt6`)
3. Run cmake command

`cmake -DUSE_QT6=false ..` - for Qt 5 build

`cmake -DUSE_QT6=true ..` - for Qt 6 build
4. Build & install QAdwaitaPlatform

`make && sudo make install`

## Usage

Expand Down

0 comments on commit 20ae53d

Please sign in to comment.