Skip to content

Android qt6 plus play store qt5 - #4006

Draft
pljones wants to merge 5 commits into
jamulussoftware:mainfrom
pljones:android-qt6-plus-play-store-qt5
Draft

pljones wants to merge 5 commits into
jamulussoftware:mainfrom
pljones:android-qt6-plus-play-store-qt5

Conversation

@pljones

@pljones pljones commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Short description of changes

Updates Android build:

  • externalises dependency and cache management
  • adds release signing through repo secrets
  • adds Qt6 experimental builds
  • adds Play Store experimental build

CHANGELOG: Update Android build process

Context: Fixes an issue?

There were a number of aims:

  • I set off to get the existing Qt5 builds onto Play Store.
  • Initially I thought that couldn't happen because Play Store requires ABI 36+ and Qt5 doesn't officially support it
  • Hence I tried to get a Qt6 Play Store build working.
  • However, that doesn't work because Qt don't support .pro-produced Play Store builds.
  • So I had to get an unsupported process written just to prove the point it's do-able: Qt5 built with a target ABI of 36.

Does this change need documentation? What needs to be documented and how?

Developer documentation included.

Status of this Pull Request

The UI breaks on Qt6.

The UI breaks on Qt5 with target ABI 36.

Both of those might be fairly easy fixes (similar to the recent iOS issue).

If you want to test, you need to let me have a Google Account email address I can add to the (private) testers list and then opt in with the following link:
https://play.google.com/apps/internaltest/4701675951134746467

What is missing until this pull request can be merged?

I need to finish getting it ready for "official use" and make sure it's clear how to do "fork"/developer releases.

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

AUTOBUILD: Please build all targets

@pljones pljones self-assigned this Nov 22, 2026
@pljones pljones added refactoring Non-behavioural changes, Code cleanup tooling Changes to the automated build system labels Nov 22, 2026
@pljones pljones added this to Tracking Nov 22, 2026
@pljones pljones added the AI AI generated or potentially AI generated label Nov 22, 2026
@github-project-automation github-project-automation Bot moved this to Triage in Tracking Nov 22, 2026
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@pljones
pljones force-pushed the android-qt6-plus-play-store-qt5 branch from 17d46da to f8af2ee Compare November 23, 2026 18:50
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@pljones
pljones force-pushed the android-qt6-plus-play-store-qt5 branch 2 times, most recently from 0a86bd9 to 4367b27 Compare November 24, 2026 18:35
@pljones
pljones force-pushed the android-qt6-plus-play-store-qt5 branch from 4367b27 to f3d0915 Compare November 24, 2026 20:04
@pljones pljones linked an issue Nov 24, 2026 that may be closed by this pull request
@pljones pljones mentioned this pull request Nov 24, 2026
@ann0see

ann0see commented Nov 24, 2026

Copy link
Copy Markdown
Member

Looks a bit too large imo...

@pljones

pljones commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

It can be split into the four commits easily. Or smaller possibly.

@pljones
pljones force-pushed the android-qt6-plus-play-store-qt5 branch 2 times, most recently from d59cac9 to 23a4676 Compare November 27, 2026 19:30
@pljones
pljones force-pushed the android-qt6-plus-play-store-qt5 branch from 23a4676 to 6991a64 Compare November 27, 2026 19:42
@pljones

pljones commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator Author

If this looks reasonable, I'll kick off once my token allowance refreshes next week.


Proposed split

Each PR should leave the existing Android build working and provide a useful, testable change.

  1. Oboe update — keep the submodule bump separate. Drop it if the Dependabot PR lands first.
    (1.10.0 or later needed for Play Store - this could wait until later but should be safe now.)

  2. Android dependency cache — extract the Qt 5 dependency pins and use them for the cache key, as for the other platforms. Preserve the existing build and cache paths.

  3. Local Qt 5 build — add the local build wrapper and make the necessary changes to the CI driver in the same PR:

    • Use the intended settings and environment interface from the start.
    • Build in a dedicated Android output directory.
    • Make artifact collection work locally and in CI.
    • Add the Qt 5 settings example and documentation.
    • Keep the existing debug APK behaviour (including the old package name) and CI artifact name.

    This is a subset of the eventual implementation, not a temporary wrapper: later PRs extend it. Cleanup must not remove unrelated desktop builds. It's still going to be a big chunk.

  4. Signed Qt 5 release APKs — add optional release builds and explicit signing, with separate debug and release outputs. Keep debug-only as the default (using the existing package name) and fail clearly if release credentials are missing.
    Release builds will use a new package name and new release builds can update old ones without reinstalling - even side-loaded.
    No change to debug APK behaviour. No change to QtCreator behaviour (recommend not trying release builds in QtCreator). Smaller change but will refactor the build.
    This would cover the scope of Android: Jamulus.pro relies on git and Linux #3087, Android: Add proper APK signing & zipalign'ing #2404.

  5. Qt 5 Play bundle
    a. Add the Play-specific toolchain and Gradle templates, version-code handling and signed AAB generation. This is enough for manual uploading. This would also include adding version bumps for the new support.
    b. Follow with a separate opt-in PR for uploading to the internal testing track. This is still "manually triggered" but handled by the workflow.
    Play-specific changes will not alter the normal Qt 5 toolchain, just add new paths.
    (There are known issues with the "hack" used to get this to work -- these will be tracked separately as they arise unless they are trivial to fix.)

  6. Qt 6 APK ZIPs — add the Qt 6 toolchain, manifest, microphone permission handling and per-ABI APK packaging, with an experimental CI target.
    This probably can't be logically split any finer and is fairly big. I've moved it to last as we may bin it in favour of moving to cmake properly.
    (There are known issues with the Qt6 build -- these will be tracked separately as they arise unless they are trivial to fix. See Android: Qt6 compatibility #2528 for potential starting points...)

After the local-build foundation, Play and Qt 6 should be independently reviewable and mergeable in either order. Play needs release signing; Qt 6 can start with debug builds. The second feature to merge may need small integration changes to the shared scripts and workflow.

🤖 Used AI: Copilot SDK in VS Code

Amended by me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI AI generated or potentially AI generated refactoring Non-behavioural changes, Code cleanup tooling Changes to the automated build system

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

Android: Modernise builds and enable experimental Play testing

3 participants