blob: 5a44cad29bdab847a8c3f040379466690b93f90e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
QT += quickcontrols2
*-g++: QMAKE_CXXFLAGS += -std=gnu++17
*-clang: QMAKE_CXXFLAGS += -std=c++17
debug: DEFINES += DEBUG
HEADERS += \
user.hxx \
worker.hxx \
controller.hxx \
tasklist.hxx
SOURCES += \
user.cxx \
worker.cxx \
controller.cxx \
tasklist.cxx \
main.cxx
RESOURCES += kelakon.qrc
INCLUDEPATH += $$PWD/librtclient
LIBS += \
$$PWD/librtclient/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 {
QT += svg
DISTFILES += android/AndroidManifest.xml
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
}
|