summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 21 insertions, 6 deletions
diff --git a/README.md b/README.md
index 71ee8f6..2570cf9 100644
--- a/README.md
+++ b/README.md
@@ -6,37 +6,52 @@
```sh
$ git clone git://darapsa.org/qicclient.git
-$ cd qicclient
```
## Configuring for various target hosts (with optional debugging)
```sh
-$ qmake CONFIG+=debug -spec android-clang qicclient.pro
+$ mkdir build-qicclient-Desktop-Debug
+$ cd build-qicclient-Desktop-Debug
+$ cmake -DCMAKE_BUILD_TYPE=Debug ../qicclient
```
or
```sh
-$ qmake CONFIG+=debug -spec linux-g++ qicclient.pro
+$ mkdir build-qicclient-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug
+$ cd build-qicclient-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug
+```
+
+and then
+
+```sh
+$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk-r19c/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt5.14.2/5.14.2/android -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_ABI=arm64-v8a -DCMAKE_INSTALL_PREFIX=/opt/Qt5.14.2/5.14.2/android -DCMAKE_BUILD_TYPE=Debug ../qicclient
+```
+
+or
+
+```sh
+$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk-r19c/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt5.14.2/5.14.2/android -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_ABI=armeabi-v7a -DCMAKE_INSTALL_PREFIX=/opt/Qt5.14.2/5.14.2/android -DCMAKE_BUILD_TYPE=Debug ../qicclient
```
or
```sh
-$ qmake CONFIG+=debug -spec macx-clang qicclient.pro
+$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk-r19c/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt5.14.2/5.14.2/android -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_ABI=x86 -DCMAKE_INSTALL_PREFIX=/opt/Qt5.14.2/5.14.2/android -DCMAKE_BUILD_TYPE=Debug ../qicclient
```
or
```sh
-$ qmake CONFIG+=debug -spec macx-ios-clang qicclient.pro
+$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk-r19c/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt5.14.2/5.14.2/android -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_ABI=x86_64 -DCMAKE_INSTALL_PREFIX=/opt/Qt5.14.2/5.14.2/android -DCMAKE_BUILD_TYPE=Debug ../qicclient
```
or so on.
-## Compiling and linking
+## 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
```