diff --git a/README.md b/README.md index 8077ca02..aafc0c08 100644 --- a/README.md +++ b/README.md @@ -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=/Qt/6.5.1/gcc_64/lib Test -``` - +java -cp qtjambi-6.5.2.jar:. -Djava.library.path=/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=/Qt/6.5.1/macos/lib -XstartOnFirstThread Test -``` - +java -cp qtjambi-6.5.2.jar:. -Djava.library.path=/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).