Skip to content

Commit

Permalink
QtJambi 6.5.2 pre-release
Browse files Browse the repository at this point in the history
#163 QModelIndex implementation of 5.15.15 slower than 5.15.11
#160 QMetaType.metaObject() returns null although instance expected
#159 Custom subclasses of QPaintEngine crash when using QPaintEngineState
  • Loading branch information
omix committed Jul 25, 2023
1 parent 4a2dd6c commit 41a4beb
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,23 +152,14 @@ By default, on Windows Qt libraries are located in `bin` directory and on Linux
In case your Linux distribution provides Qt (of correct version) as system library you don't need to specify library path.

The example program can be executed this way on Windows:

``` powershell
java -cp qtjambi-6.5.2.jar;. -Djava.library.path=C:\Qt\6.5.1\msvc2019_64\bin Test
```

java -cp qtjambi-6.5.2.jar;. -Djava.library.path=C:\Qt\6.5.1\msvc2019_64\bin Test ```
On Linux it looks this way:

``` bash
java -cp qtjambi-6.5.2.jar:. -Djava.library.path=<path to>/Qt/6.5.1/gcc_64/lib Test
```

java -cp qtjambi-6.5.2.jar:. -Djava.library.path=<path to>/Qt/6.5.1/gcc_64/lib Test ```
On macOS you additionally need to use the start parameter -XstartOnFirstThread:

``` bash
java -cp qtjambi-6.5.2.jar:. -Djava.library.path=<path to>/Qt/6.5.1/macos/lib -XstartOnFirstThread Test
```

java -cp qtjambi-6.5.2.jar:. -Djava.library.path=<path to>/Qt/6.5.1/macos/lib -XstartOnFirstThread Test ```
In general, you can start learning how to use Qt in Java [as it is introduced for C++](https://doc.qt.io/qt-6/gettingstarted.html#create-your-first-applications).
There are a couple of specifics for QtJambi that are [introduced here](/www/Characteristics-of-QtJambi.md).
Instead of starting your program with a java command as shown above you can deploy your application as executable as [described here](/www/How-to-deploy-QtJambi-applications.md).
Expand Down

0 comments on commit 41a4beb

Please sign in to comment.