blob: f4879850b2a9019d4c99e0b0ed6ea970ee35631e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Qt Core wrapper for [librtclient](http://darapsa.org/librtclient)
# Building
## Getting
```sh
$ git clone git://darapsa.org/qrtclient.git
```
## Configuring for various target hosts (with optional debugging)
```sh
$ mkdir build-qrtclient-Desktop-Debug
$ cd build-qrtclient-Desktop-Debug
$ cmake -DCMAKE_BUILD_TYPE=Debug ../qrtclient
```
or
```sh
$ mkdir build-qrtclient-Android_Qt_5_15_1_Clang_Multi_Abi-Debug
$ cd build-qrtclient-Android_Qt_5_15_1_Clang_Multi_Abi-Debug
```
and then
```sh
$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-sdk-update-manager/ndk/21.1.6352462/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt/5.15.1/android -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_ABI=arm64-v8a -DCMAKE_INSTALL_PREFIX=/opt/Qt/5.15.1/android -DCMAKE_BUILD_TYPE=Debug ../qrtclient
```
or
```sh
$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-sdk-update-manager/ndk/21.1.6352462/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt/5.15.1/android -DANDROID_NATIVE_API_LEVEL=16 -DANDROID_ABI=armeabi-v7a -DCMAKE_INSTALL_PREFIX=/opt/Qt/5.15.1/android -DCMAKE_BUILD_TYPE=Debug ../qrtclient
```
or
```sh
$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-sdk-update-manager/ndk/21.1.6352462/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt/5.15.1/android -DANDROID_NATIVE_API_LEVEL=16 -DANDROID_ABI=x86 -DCMAKE_INSTALL_PREFIX=/opt/Qt/5.15.1/android -DCMAKE_BUILD_TYPE=Debug ../qrtclient
```
or
```sh
$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-sdk-update-manager/ndk/21.1.6352462/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt/5.15.1/android -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_ABI=x86_64 -DCMAKE_INSTALL_PREFIX=/opt/Qt/5.15.1/android -DCMAKE_BUILD_TYPE=Debug ../qrtclient
```
or so on.
## Compiling, linking, and installing
```sh
$ make # -jN (with N an integer number of parallel tasks you allow your computer to run for compiling this)
$ sudo make install
```
|