diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-07 09:51:47 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-07 09:51:47 +0800 |
commit | 0709e1dccf3ef3f079919b6993f487318bdf2123 (patch) | |
tree | dab3f580fa3cb0877b59c2e24558120dd9f6d594 /kelakon.pro | |
parent | fddfc1e76305e1a3f5a4c3089663350354ba3137 (diff) | |
parent | 9be2b63ed3260d270e535f8def3fd18d01cfc1b7 (diff) |
Merge branch 'master' into cmake
Diffstat (limited to 'kelakon.pro')
-rw-r--r-- | kelakon.pro | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/kelakon.pro b/kelakon.pro new file mode 100644 index 0000000..beceb6b --- /dev/null +++ b/kelakon.pro @@ -0,0 +1,81 @@ +QT += quick + +HEADERS += controller.hxx + +SOURCES += \ + controller.cxx \ + main.cxx + +RESOURCES += \ + kelakon.qrc \ + larva.qrc \ + larva/material-design-icons.qrc + +LIBS += \ + -lcurl \ + -lrtclient + +!android { + LIBS += -lqrtclient +} + +android { + INCLUDEPATH += /opt/android-ndk-r19c/sources/cxx-stl/llvm-libc++/include + LIBS += \ + -L/opt/Qt5.14.2/5.14.2/android/lib \ + -lc++ + QT += svg + certs.path = /assets/certs + certs.files = /etc/ssl/certs/ca-certificates.crt + INSTALLS += certs +} + +contains(ANDROID_TARGET_ARCH,arm64-v8a) { + LIBS += \ + -L/opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 \ + -lqrtclient_arm64-v8a + ANDROID_EXTRA_LIBS += \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/libcrypto_1_1.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/libssl_1_1.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/libcurl.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/librtclient.so \ + /opt/Qt5.14.2/5.14.2/android/lib/libqrtclient_arm64-v8a.so +} + +contains(ANDROID_TARGET_ARCH,armeabi-v7a) { + LIBS += \ + -L/opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/21 \ + -lqrtclient_armeabi-v7a + ANDROID_EXTRA_LIBS += \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/21/libcrypto_1_1.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/21/libssl_1_1.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/21/libcurl.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/21/librtclient.so \ + /opt/Qt5.14.2/5.14.2/android/lib/libqrtclient_armeabi-v7a.so +} + +contains(ANDROID_TARGET_ARCH,x86) { + LIBS += \ + -L/opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/i686-linux-android/21 \ + -lqrtclient_x86 + ANDROID_EXTRA_LIBS += \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/i686-linux-android/21/libcrypto_1_1.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/i686-linux-android/21/libssl_1_1.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/i686-linux-android/21/libcurl.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/i686-linux-android/21/librtclient.so \ + /opt/Qt5.14.2/5.14.2/android/lib/libqrtclient_x86.so +} + +contains(ANDROID_TARGET_ARCH,x86_64) { + LIBS += \ + -L/opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/x86_64-linux-android/21 \ + -lqrtclient_x86_64 + ANDROID_EXTRA_LIBS += \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/x86_64-linux-android/21/libcrypto_1_1.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/x86_64-linux-android/21/libssl_1_1.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/x86_64-linux-android/21/libcurl.so \ + /opt/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/x86_64-linux-android/21/librtclient.so \ + /opt/Qt5.14.2/5.14.2/android/lib/libqrtclient_x86_64.so +} + +debug: DEFINES += DEBUG |