qmake ABIs cannot save setting value in android
Unsolved
General and Desktop
-
Hi everyone!
I use kits arm64-v8a as shown, but every time when qt creator is started, it returns to default of kits armeabi-v7a
!my .pro file
android { contains(ANDROID_TARGET_ARCH,arm64-v8a) { isEmpty(OPENCV_ANDROID) { error("Let OPENCV_ANDROID point to the opencv-android-sdk, recommended: v4.0") } INCLUDEPATH += "$$OPENCV_ANDROID/sdk/native/jni/include" LIBS += \ -L"$$OPENCV_ANDROID/sdk/native/libs/arm64-v8a" \ -L"$$OPENCV_ANDROID/sdk/native/3rdparty/libs/arm64-v8a" \ -llibtiff \ -llibjpeg-turbo \ -llibpng \ -lIlmImf \ -ltbb \ -ltegra_hal \ -lade \ -lcpufeatures \ -lopencv_java4 \ ANDROID_EXTRA_LIBS = $$OPENCV_ANDROID/sdk/native/libs/arm64-v8a/libopencv_java4.so } else { error("Unsupported architecture: $$ANDROID_TARGET_ARCH") } }
Is there any way to fix it as arm64-v8a?
Thanks! -
@DQUY05 said in qmake ABIs cannot save setting value in android:
Hi everyone!
I use kits arm64-v8a as shown, but every time when qt creator is started, it returns to default of kits armeabi-v7a
!my .pro file
android { contains(ANDROID_TARGET_ARCH,arm64-v8a) { isEmpty(OPENCV_ANDROID) { error("Let OPENCV_ANDROID point to the opencv-android-sdk, recommended: v4.0") } INCLUDEPATH += "$$OPENCV_ANDROID/sdk/native/jni/include" LIBS += \ -L"$$OPENCV_ANDROID/sdk/native/libs/arm64-v8a" \ -L"$$OPENCV_ANDROID/sdk/native/3rdparty/libs/arm64-v8a" \ -llibtiff \ -llibjpeg-turbo \ -llibpng \ -lIlmImf \ -ltbb \ -ltegra_hal \ -lade \ -lcpufeatures \ -lopencv_java4 \ ANDROID_EXTRA_LIBS = $$OPENCV_ANDROID/sdk/native/libs/arm64-v8a/libopencv_java4.so } else { error("Unsupported architecture: $$ANDROID_TARGET_ARCH") } }
Is there any way to fix it as arm64-v8a?
Thanks!After upgrading to Qt5.15, the issue has been resolved