Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go back to support for Android API 16+ #42

Open
pclemins opened this issue Feb 28, 2020 · 2 comments
Open

Go back to support for Android API 16+ #42

pclemins opened this issue Feb 28, 2020 · 2 comments

Comments

@pclemins
Copy link
Collaborator

pclemins commented Feb 28, 2020

With the update to Qt 5.14.1, the new Android minimum API is 21. We have the compiled SSL for 16+, we just need to figure out how to include an APK for 16-20. Looks like Qt's older version for support is 5.9.x and I think we can probably do that...

Maybe moving to a bundle? https://developer.android.com/platform/technology/app-bundle
Looks like Qt has support for that.

Multiple APKs: https://developer.android.com/google/play/publishing/multiple-apks

@pclemins
Copy link
Collaborator Author

Oh... and... we definitely want to separate apks because Android 10 now prompts users if they try to install an APK targetting API 22 or lower.

@pclemins
Copy link
Collaborator Author

pclemins commented Feb 28, 2020

We may need NDK older than r19... one that still has g++ in the toolchain (<r18b) because Qt 5.9.9, defaults to g++ and I couldn't seem to change it in Qt Composer. We might try Qt 12.x...

One can switch NDK version from the default latest downloaded one with android.ndkVersion property in build.gradle (https://developer.android.com/studio/releases/gradle-plugin).

Or.... write our own build script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant