summaryrefslogtreecommitdiff
path: root/README.md
blob: c90d9fe057f128f95f33e3f5ddad27c153024ad6 (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
# Qt Core wrapper for [libicclient](http://darapsa.org/libicclient)

# Building

## Getting

```sh
$ git clone git://darapsa.org/qicclient.git
$ cd qicclient
$ mkdir build && cd build
```

## Configuring for various target hosts (with optional debugging), compiling, linking, and installing

```sh
$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-sdk-update-manager/ndk/21.3.6528147/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt/5.15.2/android -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_ABI=arm64-v8a -DCMAKE_INSTALL_PREFIX=/opt/Qt/5.15.2/android -DCMAKE_BUILD_TYPE=Debug ..
$ make
$ make install
```

or

```sh
$ emcmake cmake -DCMAKE_TOOLCHAIN_FILE=/usr/local/lib/emscripten/cmake/Modules/Platform/Emscripten.cmake -DQt5Core_DIR=/opt/Qt/5.15.2/wasm_32/lib/cmake/Qt5Core -DCMAKE_INSTALL_PREFIX=/usr/local/lib/emscripten/system -DCMAKE_BUILD_TYPE=Debug ..
$ emmake make
$ emmake make install
```

or so on.