From c4d1459599fc312ca4bdd5300d3f00ba24bd2af3 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Sat, 24 Aug 2019 21:31:42 +0800 Subject: Made specific Android settings apply on Qt Creator By using the "contains" function, and also just hardcode the toolchain path. --- kelakon.pro | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kelakon.pro') diff --git a/kelakon.pro b/kelakon.pro index 3ae1497..35bc0a9 100644 --- a/kelakon.pro +++ b/kelakon.pro @@ -11,13 +11,13 @@ SOURCES += \ RESOURCES += kelakon.qrc -android { - INCLUDEPATH += $$(ANDROID_STANDALONE_TOOLCHAIN)/usr/include - LIBS += -L$$(ANDROID_STANDALONE_TOOLCHAIN)/usr/lib +contains(ANDROID_TARGET_ARCH,armeabi-v7a) { + INCLUDEPATH += /usr/local/arm-linux-androideabi/sysroot/usr/include + LIBS += -L/usr/local/arm-linux-androideabi/sysroot/usr/lib ANDROID_EXTRA_LIBS += \ - $$(ANDROID_STANDALONE_TOOLCHAIN)/usr/lib/libcrypto.so \ - $$(ANDROID_STANDALONE_TOOLCHAIN)/usr/lib/libssl.so \ - $$(ANDROID_STANDALONE_TOOLCHAIN)/usr/lib/libcurl.so + /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 } LIBS += \ -- cgit v1.2.3