Porting Qt5 Android applications in Qt6
-
-
@mrdebug said in Porting Qt5 Android applications in Qt6:
androidextras
-
Many thanks, I'll check it.
After a first check Qt6 seems to be non available for Android 8 and armeabi-v7a. The last Qt5 release for Android is a multi abi package and permits to release an app for both armeabi-v7a and arm64-v8a and it works perfectly on Android 8 and the recent one.
An app based on Qt6 seems to be not supported by Android 8. If I try to run an empty app I obtain the errorjava.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "getentropy" referenced by "/data/app/org.qtproject.example.untitled-2V6ErpMC1aXLweMdkdx7gQ==/lib/arm/libQt6Core_armeabi-v7a.so"...
-
@mrdebug said in Porting Qt5 Android applications in Qt6:
Hi, I'm new in Qt6. This afternoon I tried to build an Android test app but Qt6 does not have androidextras module.
I use often Android native code so, with is the new way to manage it?there are some more changes for Android porting apps from 5 to 6:
https://ekkesapps.wordpress.com/qt-6-qmake/qjniproject-android-extras/
my pages are work-in-progress - as soon as 6.8.2 is out, I'll go on with my ports from 5.15 to 6.8 and QMake to CMake and blog about. also next months my example apps (sharing, BT >Le, ...) will be re-written
stay tuned