Append the QT_ARCH variable to the library name in the .pri file when building on Android.

#MyLibName1.pri

INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
android: LIBS += -L$$OUT_PWD/../../libs -lMyLibName1_$${QT_ARCH}
else: LIBS += -L$$OUT_PWD/../../libs -lMyLibName1

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top