summaryrefslogtreecommitdiff
path: root/qrtclient.pro
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-15 18:42:35 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-15 18:42:35 +0800
commitcd679da218281c5716001a4e2055451ab9bcc926 (patch)
tree43c1a719690062d4c0f65bbff593b7e5e23b5eb9 /qrtclient.pro
A Qt Core based library that depends on librtclient
and can be used for a Qt based project
Diffstat (limited to 'qrtclient.pro')
-rw-r--r--qrtclient.pro29
1 files changed, 29 insertions, 0 deletions
diff --git a/qrtclient.pro b/qrtclient.pro
new file mode 100644
index 0000000..195110c
--- /dev/null
+++ b/qrtclient.pro
@@ -0,0 +1,29 @@
+TEMPLATE = lib
+
+HEADERS += \
+ qrtclient/user.hxx \
+ qrtclient/ticket.hxx \
+ qrtclient/client.hxx
+
+SOURCES += \
+ user.cxx \
+ ticket.cxx \
+ client.cxx
+
+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
+}
+
+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
+}
+
+debug: DEFINES += DEBUG