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