Allow building with clang (Required for Qt 5.12 on Android)
This commit is contained in:
parent
f9730626ad
commit
807699759d
@ -42,8 +42,18 @@ equals(STYLES_PATH, "") {
|
|||||||
android {
|
android {
|
||||||
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/../packaging/android
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/../packaging/android
|
||||||
|
|
||||||
|
android-clang {
|
||||||
|
FIREBASE_STL_VARIANT = c++
|
||||||
|
}
|
||||||
|
|
||||||
|
isEmpty(FIREBASE_STL_VARIANT){
|
||||||
|
FIREBASE_STL_VARIANT = gnustl
|
||||||
|
}
|
||||||
|
|
||||||
|
message("Using FIREBASE_STL_VARIANT ($$FIREBASE_STL_VARIANT)")
|
||||||
|
|
||||||
INCLUDEPATH += /opt/firebase_cpp_sdk/include
|
INCLUDEPATH += /opt/firebase_cpp_sdk/include
|
||||||
LIBS += -L/opt/firebase_cpp_sdk/libs/android/armeabi-v7a/gnustl/ -lfirebase_messaging -lfirebase_app
|
LIBS += -L/opt/firebase_cpp_sdk/libs/android/armeabi-v7a/$$FIREBASE_STL_VARIANT/ -lfirebase_messaging -lfirebase_app
|
||||||
|
|
||||||
QT += androidextras
|
QT += androidextras
|
||||||
HEADERS += platformintegration/android/platformhelperandroid.h
|
HEADERS += platformintegration/android/platformhelperandroid.h
|
||||||
|
|||||||
Reference in New Issue
Block a user