diff options
Diffstat (limited to 'kelakon.pro')
-rw-r--r-- | kelakon.pro | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/kelakon.pro b/kelakon.pro index cbd9221..c91ba3e 100644 --- a/kelakon.pro +++ b/kelakon.pro @@ -1,10 +1,37 @@ QT += quickcontrols2 +HEADERS += \ + rtclient.h \ + networkworker.hxx + SOURCES += \ - main.cxx + rtclient.c \ + networkworker.cxx \ + main.cxx RESOURCES += kelakon.qrc +LIBS += \ + -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 } |