diff options
author | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-24 21:31:42 +0800 |
---|---|---|
committer | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-24 21:31:42 +0800 |
commit | c4d1459599fc312ca4bdd5300d3f00ba24bd2af3 (patch) | |
tree | ed204410836c6ee77b2bdba3ca307e6f51d1390f | |
parent | 393bb95e97f8e53c430fb95926128ad2b683af63 (diff) |
Made specific Android settings apply on Qt Creator
By using the "contains" function, and also just hardcode the toolchain
path.
-rw-r--r-- | kelakon.pro | 12 |
1 files changed, 6 insertions, 6 deletions
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 += \ |