From c3abee20a084b3669d648077086105672cee6564 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Sun, 25 Aug 2019 09:59:11 +0800 Subject: Managed to differentiate C from C++ compilation --- kelakon.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kelakon.pro b/kelakon.pro index 35bc0a9..0892052 100644 --- a/kelakon.pro +++ b/kelakon.pro @@ -12,7 +12,7 @@ SOURCES += \ RESOURCES += kelakon.qrc contains(ANDROID_TARGET_ARCH,armeabi-v7a) { - INCLUDEPATH += /usr/local/arm-linux-androideabi/sysroot/usr/include + 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 \ -- cgit v1.2.3