diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-04-01 17:21:24 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-04-01 17:21:24 +0800 |
commit | 3202dfef22592f9038201836ccab081f5e78f26a (patch) | |
tree | ee678274f9feefe4a7e50de82f71ac64afc035cb /qicclient.pro | |
parent | 0728570b5a424abaad7fe49f63caa1977e016782 (diff) |
Try to make it build after 5.14.1 update
Diffstat (limited to 'qicclient.pro')
-rw-r--r-- | qicclient.pro | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/qicclient.pro b/qicclient.pro index 4d7150b..321d18d 100644 --- a/qicclient.pro +++ b/qicclient.pro @@ -13,7 +13,34 @@ SOURCES += \ catalog.cxx \ basket.cxx \ client.cxx -INCLUDEPATH += $$PWD/libicclient -LIBS += $$PWD/libicclient/libicclient.a +LIBS += -licclient + +contains(ANDROID_TARGET_ARCH,arm64-v8a) { + INCLUDEPATH += \ + /usr/local/aarch64-linux-android/include/c++/4.9.x \ + /usr/local/aarch64-linux-android/sysroot/usr/include + LIBS += -L/usr/local/aarch64-linux-android/sysroot/usr/lib +} + +contains(ANDROID_TARGET_ARCH,armeabi-v7a) { + INCLUDEPATH += \ + /usr/local/arm-linux-androideabi/include/c++/4.9.x \ + /usr/local/arm-linux-androideabi/sysroot/usr/include + LIBS += -L/usr/local/arm-linux-androideabi/sysroot/usr/lib +} + +contains(ANDROID_TARGET_ARCH,x86) { + INCLUDEPATH += \ + /usr/local/i686-linux-android/include/c++/4.9.x \ + /usr/local/i686-linux-android/sysroot/usr/include + LIBS += -L/usr/local/i686-linux-android/sysroot/usr/lib +} + +contains(ANDROID_TARGET_ARCH,x86_64) { + INCLUDEPATH += \ + /usr/local/x86_64-linux-android/include/c++/4.9.x \ + /usr/local/x86_64-linux-android/sysroot/usr/include + LIBS += -L/usr/local/x86_64-linux-android/sysroot/usr/lib +} debug: DEFINES += DEBUG |