blob: fa19e07550e1f611d77ca8e882b8336327df3ae0 (
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
51
|
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 {
PREFIX = $$ANDROID_NDK_PATH/toolchains/llvm/prebuilt/$$ANDROID_NDK_HOST/sysroot/usr
TRIPLE = aarch64-linux-android
contains(ANDROID_TARGET_ARCH,armeabi-v7a): TRIPLE = arm-linux-androideabi
contains(ANDROID_TARGET_ARCH,x86): TRIPLE = i686-linux-android
contains(ANDROID_TARGET_ARCH,x86_64): TRIPLE = x86_64-linux-android
LIBS += \
-L$$PREFIX/lib/$$TRIPLE/$$API \
-L$$QT_ANDROID_LIBDIR \
-lqrtclient_$$ANDROID_TARGET_ARCH
ANDROID_EXTRA_LIBS += \
$$PREFIX/lib/$$TRIPLE/$$API/libcrypto_1_1.so \
$$PREFIX/lib/$$TRIPLE/$$API/libssl_1_1.so \
$$PREFIX/lib/$$TRIPLE/$$API/libcurl.so \
$$PREFIX/lib/$$TRIPLE/$$API/librtclient.so \
$$QT_ANDROID_LIBDIR/libqrtclient_$${ANDROID_TARGET_ARCH}.so
QT += svg
certs.path = /assets/certs
certs.files = /etc/ssl/certs/ca-certificates.crt
INSTALLS += certs
}
macx {
INCLUDEPATH += /usr/local/include
LIBS += -L/usr/local/lib
}
debug: DEFINES += DEBUG
|