diff options
author | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-27 10:57:41 +0800 |
---|---|---|
committer | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-27 10:57:41 +0800 |
commit | eab46365359fb1846b16fa33cfe71593da05cb15 (patch) | |
tree | 5704395d2de63c67f2bba77e65cc40b1b4fa3017 /kelakon.pro | |
parent | 0ced5545b7053ea6d77c0191e5732e36f7737467 (diff) | |
parent | 66ae26cf69793e89c95b73f0488a3da4fb7394c7 (diff) |
Merge branch 'curl' into development
Diffstat (limited to 'kelakon.pro')
-rw-r--r-- | kelakon.pro | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/kelakon.pro b/kelakon.pro index cbd9221..12dc52d 100644 --- a/kelakon.pro +++ b/kelakon.pro @@ -1,10 +1,40 @@ QT += quickcontrols2 +HEADERS += \ + networkworker.hxx \ + user.hxx + SOURCES += \ - main.cxx + networkworker.cxx \ + user.cxx \ + main.cxx RESOURCES += kelakon.qrc +INCLUDEPATH += $$PWD/rtclient + +LIBS += \ + $$PWD/rtclient/librtclient.a \ + -lcurl + +contains(ANDROID_TARGET_ARCH,arm64-v8a) { + QMAKE_CFLAGS += -I/usr/local/aarch64-linux-android/sysroot/usr/include + LIBS += -L/usr/local/aarch64-linux-android/sysroot/usr/lib + ANDROID_EXTRA_LIBS += \ + /usr/local/aarch64-linux-android/sysroot/usr/lib/libcrypto.so \ + /usr/local/aarch64-linux-android/sysroot/usr/lib/libssl.so \ + /usr/local/aarch64-linux-android/sysroot/usr/lib/libcurl.so +} + +contains(ANDROID_TARGET_ARCH,armeabi-v7a) { + QMAKE_CFLAGS += -I/usr/local/arm-linux-androideabi/sysroot/usr/include + LIBS += -L/usr/local/arm-linux-androideabi/sysroot/usr/lib + ANDROID_EXTRA_LIBS += \ + /usr/local/arm-linux-androideabi/sysroot/usr/lib/libcrypto.so \ + /usr/local/arm-linux-androideabi/sysroot/usr/lib/libssl.so \ + /usr/local/arm-linux-androideabi/sysroot/usr/lib/libcurl.so +} + android { ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android } |