1.6 KiB
1.6 KiB
ChaQt
Qt application using chatapi1
(it will be after I learn)
Requirements
- Java 21 (JDK)
- Qt 6.7.2
Usage
In both cases, replace /home/user/Qt/6.7.2/gcc_64/lib
with your Qt installation2
-
Just run:
./mvnw compile exec:java -Djava.library.path=/home/user/Qt/6.7.2/gcc_64/lib
-
Package3 and run:
./mvnw package java -Djava.library.path=/home/user/Qt/6.7.2/gcc_64/lib -jar target/chaqt-1.0-SNAPSHOT.jar
Downloading Qt
- For 64-bit Linux:
- qt672.tar.zst4
- Extract
- Note the absolute5 path to
6.7.2/gcc_64/lib
- For other systems, or if you want to DIY:
- Download the Qt Online Installer and execute
- You will be asked to create a Qt account - you have to (that's why I provide a download)
- Click through until you see the installation options.
Take note of theInstallation folder
and chooseCustom Installation
Select
->Deselect All
Then selectQt
->Qt 6.7.2
->Desktop
- Click through until you finish
- Note the absolute5 path to
6.7.2/gcc_64/lib
in your installation folder
Notes
-
considering renaming ↩︎
-
You can use an environment variable
LD_LIBRARY_PATH
instead ofDjava.library.path
. Make it the same value ↩︎ -
Saves the artifact as
chaqt-1.0-SNAPSHOT.jar
in thetarget
directory.
You can move it away and delete this repo ↩︎ -
Signature is on this repo:
qt672.tar.zst.sig
↩︎ -
By absolute I mean like
/home/user/Qt/6.7.2/gcc_64/lib
↩︎