update readme
This commit is contained in:
parent
cc44a96fc6
commit
a3c367d928
1 changed files with 22 additions and 18 deletions
30
README.md
30
README.md
|
@ -1,7 +1,6 @@
|
|||
# ChaQt
|
||||
|
||||
Qt application using chatapi[^1]
|
||||
|
||||
Qt application using chatapi[^1] \
|
||||
(it will be after I learn)
|
||||
|
||||
---
|
||||
|
@ -11,20 +10,18 @@ Qt application using chatapi[^1]
|
|||
- Qt **6.7.2**
|
||||
|
||||
## Usage
|
||||
```
|
||||
In both cases, replace `/home/user/Qt/6.7.2/gcc_64/lib` with your Qt installation[^4]
|
||||
|
||||
- Just run:
|
||||
```shell
|
||||
./mvnw compile exec:java -Djava.library.path=/home/user/Qt/6.7.2/gcc_64/lib
|
||||
```
|
||||
Replace `/home/user/Qt/6.7.2/gcc_64/lib` with your Qt installation
|
||||
|
||||
Or:
|
||||
1. Compile:
|
||||
```
|
||||
- Package[^5] and run:
|
||||
```shell
|
||||
./mvnw package
|
||||
java -Djava.library.path=/home/user/Qt/6.7.2/gcc_64/lib -jar target/chaqt-1.0-SNAPSHOT.jar
|
||||
```
|
||||
3. `java -Djava.library.path=/home/user/Qt/6.7.2/gcc_64/lib -jar target/chaqt-1.0-SNAPSHOT.jar`
|
||||
- Replace `/home/user/Qt/6.7.2/gcc_64/lib` with your Qt installation
|
||||
- You can set `LD_LIBRARY_PATH` instead of `Djava.library.path` (same value)
|
||||
- `chaqt-1.0-SNAPSHOT.jar` is the executable, you can move it away and delete this repo
|
||||
|
||||
### Downloading Qt
|
||||
- For 64-bit Linux:
|
||||
|
@ -44,6 +41,13 @@ Or:
|
|||
|
||||
### Notes
|
||||
|
||||
[^1]: considering renaming \
|
||||
[^2]: Signature is on this repo: `qt672.tar.zst.sig` \
|
||||
[^1]: considering renaming
|
||||
|
||||
[^2]: Signature is on this repo: `qt672.tar.zst.sig`
|
||||
|
||||
[^3]: By absolute I mean like `/home/user/Qt/6.7.2/gcc_64/lib`
|
||||
|
||||
[^4]: You can use an environment variable `LD_LIBRARY_PATH` instead of `Djava.library.path`. Make it the same value
|
||||
|
||||
[^5]: Saves the artifact as `chaqt-1.0-SNAPSHOT.jar` in the `target` directory. \
|
||||
You can move it away and delete this repo
|
Loading…
Reference in a new issue