chaqt/README.md
2024-09-03 13:00:51 +02:00

1.6 KiB

ChaQt

Qt application using chatapi1

(it will be after I learn)


Requirements

  • Java 21 (JDK)
  • Qt 6.7.2

Usage

./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:
    ./mvnw package
    
  2. 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:
    1. qt672.tar.zst2
    2. Extract
    3. Note the absolute3 path to 6.7.2/gcc_64/lib
  • For other systems, or if you want to DIY:
    1. Download the Qt Online Installer and execute
    2. You will be asked to create a Qt account - you have to (that's why I provide a download)
    3. Click through until you see the installation options.
      Take note of the Installation folder and choose Custom Installation
    4. Select -> Deselect All
      Then select Qt -> Qt 6.7.2 -> Desktop
    5. Click through until you finish
    6. Note the absolute3 path to 6.7.2/gcc_64/lib in your installation folder

Notes


  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 ↩︎