Skip to content

Android: Modernise builds and enable experimental Play testing #4009

In progress

Description

@pljones

What is the current behaviour and why should it be changed?

Android builds are experimental. The existing CI build uses Qt 5.15.2 and older Android build tools, and produces an APK through a CI-oriented script. It does not provide the proposed Qt 6 build or a Play testing upload workflow. There are also separate open issues for Qt 6 permissions (#2528), signing (#2404), version-code portability (#3087), and updating Oboe (#3762).

I've also noted #4008, as changing the Android package name (which happens currently on each build, as far as I'm aware) requires uninstall, loss of settings and reinstall.

A more maintainable local and CI build process, a path to newer toolchains, and reproducibly signed packages would help develop and test Android builds. Play distribution also needs an AAB, an appropriate application identity, signing and versioning.

Describe possible approaches

Continue with the existing Qt 5 APK build and address the individual issues separately, or modernise the build in stages. The latter would support newer tooling and testing channels, but adds build and deployment complexity and requires Android device testing.

Draft PR #4006 explores the following approach:

  • Share a configurable Android build driver between local builds and CI, with separate toolchain profiles; retain Qt 5 multi-ABI APKs and add experimental Qt 6 per-ABI APKs.
  • Update Oboe to 1.10.0 and use Qt 6 microphone-permission handling when building with Qt 6.5 or later.
  • Support stable release signing and configurable application IDs and version codes, and provide an opt-in Qt 5 AAB build and GitHub workflow upload to the Play internal testing track. Keep debug and release identities distinct and document the required credentials and setup.

Before agreeing the scope, decide whether the Play workflow and Qt 6 build belong in the same effort or should be separate changes. In particular, agree on the official application ID and signing identities: changing either can prevent updates to existing installations, and Play and side-loaded signing may differ. The draft PR reports UI problems on Qt 6 and on Qt 5 targeting Android API 36; these need investigation and device testing rather than treating a successful build or upload as validation. The Qt 5 Play profile is experimental, and Qt 6 qmake builds in the draft produce APKs rather than a Play AAB.

Has this feature been discussed and generally agreed?

Not as an overall specification, as far as I know. #4006 is a draft implementation for discussion; the related issues above cover parts of the work. The intended scope, compatibility, release process, and testing requirements still need agreement.

🤖 Used AI: Copilot SDK in VS Code, to inspect the branch and draft this issue. I reviewed the draft before posting.

Activity

  1. linked a pull request that will close this issueAndroid qt6 plus play store qt5 #4006on Nov 24, 2026
  2. pljones commented on Nov 28, 2026

    @pljones
    CollaboratorAuthor

    As discussed in #4012, we should move to Android Oreo (8.1) or later and fix a number of potential issues in the Android audio layer as a priority above this.

    Possibly related: #2570

  3. pljones commented on Nov 29, 2026

    @pljones
    CollaboratorAuthor

    Android modernisation: proposed working plan

    This plan brings together #4009, #4006, #4012, and the audio assessment. It covers the full scope of the linked issues, including the cross-platform settings work in #4008 and the wider build migration in #3964.

    This is a proposed sequence, not an agreed specification. Each numbered implementation step is intended to be a focused, reviewable PR, or a small series of PRs where noted. Each PR must leave the existing build working and provide a useful, testable result. Reconstruct the relevant parts of #4006 rather than assuming its existing commits are suitable PR boundaries.

    Order and dependencies

    1. Start the low-risk, independent changes now: raise the minimum Android version to 8.1/API 27 (A1), update Oboe (A2), and extract the Android dependency cache (B1). Keep each in its own PR and test it; none needs the audio investigation or settings work to finish first.
    2. Next fix potential crashes and security flaws, including buffer overruns and stream-start failures (A3). Then address real-time hazards (A4), followed by the remaining Oboe guide compliance work (A5–A6). Break these into smaller focused PRs where useful.
    3. After those fixes, reproduce and measure the reported audio problem against the pre-change baseline (A7). Capture an initial baseline when practical, but do not make a protracted investigation a prerequisite for the fixes. Each individual change still needs appropriate correctness and real-time testing.
    4. The local/CI foundation B2 may proceed after B1, alongside the audio and cross-platform work. Complete the independent JSON-RPC attachment transport C0 before full settings export/import C1–C7. Both are cross-platform, not Android-specific.
    5. Full settings export/import, including C0 and C1–C7, blocks all B3–B7 work. After that gate and B2, B4 depends on B3; B5 depends on B3 and B4; B6 depends on B5. B7 depends on B2 and the settings gate, not B3–B6: Play and Qt 6 remain mergeable in either order.
    6. CMake migration is managed under #3964; D1–D5 restate it here for planning, not as a separate Android project. It may supersede B7 and is not required for the experimental Qt 5 Play path. Compare and test packaging/UI behaviour rather than assuming CMake fixes it or introduces regressions.

    The order below is a working order, not a requirement to bundle unrelated fixes. A safety fix must not be delayed merely to fit a packaging milestone.

    flowchart TD
        A1["A1: Minimum Android API 27"]
        A2["A2: Update Oboe"]
        B1["B1: Dependency cache"]
        A3["A3: Crash and memory safety"]
        A4["A4: Real-time hazards"]
        A5["A5: Oboe configuration and tuning"]
        A6["A6: Disconnect recovery"]
        A7["A7: Check reported audio problem"]
        B2["B2: Shared local/CI build"]
        C0["C0: JSON-RPC attachments"]
        C1["C1–C7: Full settings export/import"]
        B3["B3: Version portability"]
        B4["B4: Signed release APKs"]
        B5["B5: Manual Play bundle"]
        B6["B6: Play upload"]
        B7["B7: Experimental Qt 6 APKs"]
        D["D1–D5: CMake migration (#3964)"]
    
        A1 -. priority .-> A3
        A2 -. priority .-> A3
        B1 -. priority .-> A3
        A3 -. priority .-> A4
        A4 -. priority .-> A5
        A5 -. priority .-> A6
        A6 -. priority .-> A7
        B1 --> B2
        C0 --> C1
        B2 --> B3
        C1 --> B3
        B3 --> B4 --> B5 --> B6
        B2 --> B7
        C1 --> B7
        D -. may supersede .-> B7
    
    Loading

    Solid arrows are prerequisites; dotted arrows show priority or a possible alternative, not a hard dependency. The CMake migration is managed under #3964.

    Decisions and constraints

    • Set the Android minimum to Android 8.1/Oreo, API 27, in A1. Document affected devices and existing installations; any further increase is a separate decision. API 27 is not required to read callback frame counts and a higher minimum is not itself a demonstrated audio fix.
    • Agree the official release application ID; keep the existing main ID for debug builds. Agree Play versus side-loaded identities, upload and app-signing keys, custody, recovery, secrets access, whether to publish certificate fingerprints, and the migration story. An ID or incompatible signing-key change prevents an in-place update.
    • Agree the version-code policy for Android: Jamulus.pro relies on git and Linux #3087: valid Play range, monotonic release/upload ordering, reproducibility for a clean commit and source tarball on supported build hosts, and a safe policy for local/dirty builds. Specify how manual and CI releases share and advance the value. Do not equate a workflow run number with a reproducible source version without resolving that conflict.
    • Agree Save and restore Jamulus settings #4008's detailed settings and JSON-RPC specifications before coding, especially partial success, unsafe live changes, attachment framing and limits. Agree build-system and threading changes before implementation.
    • Decide whether B7's experimental qmake Qt 6 APKs are useful or D1–D5 should be the Qt 6 route. Qt 6 qmake per-ABI APKs are not a Play AAB.

    A. Android minimum version and audio

    A1. Raise the minimum Android version

    1. Change the minimum supported Android version to Android 8.1/Oreo, API 27, in the applicable manifests, build profiles and documentation. Keep this compatibility change separate from the Oboe bump.
    2. Check Qt/toolchain and dependency compatibility, document that older devices cannot install new builds, and test installation and launch on API 27 and a current Android version where available.

    Done: the minimum is consistently API 27 and the compatibility change and any untested devices are recorded. Do not claim that raising it fixes the reported audio problem.

    A2. Update Oboe — #3762, #4012

    1. Proceed with the separate Oboe 1.11.2 submodule PR Build: Bump libs/oboe from 8740d0f to a36d098 #4012; do not duplicate it from Android qt6 plus play store qt5 #4006 if it lands. Check dependency, API/backend and Android-version compatibility as part of review.
    2. Build and install the baseline and bumped versions; exercise audio in both directions and route changes on representative devices. Record regressions and untested versions; the reported Android 17 test did not exercise audio.

    Done: #3762 has a tested update, not merely a successful compile. Do not wait for A3–A7 to start this PR.

    A3. Crash and memory-safety fixes — #3958, related #2570

    1. Fix the input copy in Oboe: input copy is bounded after the copy, not before #3958: validate frame and sample counts before copying, including startup/drain callbacks; correct byte versus int16_t element sizing. Establish what draining should do rather than relying on the misleading discard comment.
    2. Make unexpected input and output callback sizes safe: avoid stale or out-of-bounds samples, process complete fixed-size blocks and fill the entire output callback. Where adaptation is needed, use bounded, preallocated buffering with explicit overflow/underflow behaviour.
    3. Handle input/output open and start failures before dereferencing stream pointers; clean up partial streams and report failure. Check the original Investigate Android sound code issues reported by Codacy #2570 initialization warning against current code and fix it if the initialization guarantee does not hold.
    4. Test zero, smaller, equal and larger callbacks, consecutive mismatches, drain/restart, failed opens and failed starts. Verify memory bounds and real-time safety; use focused PRs for independently testable fixes.

    Done: unsafe copies and failure-path dereferences are fixed and tested, with any remaining potential crash or security findings explicitly tracked. Callback mismatch is a code risk, not yet a proven cause of the audio report.

    A4. Real-time hazards

    1. Remove or move the known callback-path mutexes, per-callback allocation, mismatch logging and statistics logging off the real-time path in focused changes. Preserve input/output ordering, queue bounds and error visibility; do not replace locks with another blocking operation.
    2. Test each change and record worst-case callback duration against the minimum cycle time, glitches/xruns and latency, comparing with its baseline. Use repeated alternating runs and an unaffected control metric where applicable.

    Done: changed callback paths meet the project's real-time requirement with evidence, not just a successful build or average timing.

    A5. Oboe guide: configuration, tuning and diagnostics

    1. Validate actual I16 format, stereo channel count and 48 kHz rate after opening and before callback use; report and safely reject incompatible streams. Preserve the existing sample-rate conversion request; add further conversion only if device evidence justifies it.
    2. Correct/review setBufferSizeInFrames: use frames rather than stereo sample counts, treat it as output tuning, check the result and handle any relevant backend limitation. Compare latency and glitches before choosing a new size.
    3. Rename the deprecated callback-size setter in a separate small change. Resolve Investigate Android sound code issues reported by Codacy #2570's no-op low-latency warning: remove it if existing stream-detail logging suffices, or provide a useful diagnostic; distinguish logcat from user-visible feedback. Verify low-latency and fallback paths where feasible.
    4. Check the remaining Oboe guide recommendations against the implementation and make focused fixes, with backend and device coverage recorded. Keep the separate Codacy-versus-CodeQL tooling discussion out of the code fix.

    Done: configuration and buffer outcomes are tested, both original #2570 findings are resolved or documented as obsolete, and remaining guide deviations are addressed or tracked. Disabled conversion flags alone do not prove a mismatch.

    A6. Oboe guide: disconnect recovery

    1. Implement coordinated input/output recovery after disconnection, using a non-callback context for close/reopen and retries in line with Oboe's error-callback restrictions. The unsafe open/start failure paths are addressed earlier in A3.
    2. Exercise headset and USB route changes, disconnect/reconnect, repeated recovery, stop during recovery and shutdown. Confirm no crash, leaked stream or permanently silent session.

    Done: failures are visible and audio recovers safely from supported route changes.

    A7. Determine whether the audio problem remains

    1. Reproduce the reported issue using the exact Play build and device, then compare the pre-change baseline and the builds after A1–A6. Record build identities, device, Android version, routes and steps.
    2. Record backend, stream format/rate/channels, sharing/performance mode, callback-size distribution, errors, supported xrun counts, latency and audio in both directions. Include headset/USB changes; collect callback diagnostics without allocation or logging on the real-time thread.
    3. Compare samples, glitches and measurements using repeated alternating baseline/fix runs and an unaffected control metric. If the problem persists, create or update focused issues with reproduction and evidence.

    Done: report whether the problem was reproduced and whether the changes improved it; do not claim a cause or resolution without evidence.

    B. Build foundation

    B1. Android dependency cache

    1. Extract the existing Qt 5 Android dependency pins into a profile and use those pins for the cache key, following the other platforms' pattern.
    2. Preserve current toolchain versions, build and cache paths, CI outputs and behaviour.
    3. Test cold and warm cache runs and changes to a pin.

    Done: the cache change is independently useful and the existing Android CI APK still builds and is collected.

    B2. Shared local/CI Qt 5 build

    1. Add the local wrapper and adapt the CI driver together, using the intended settings/environment interface and precedence from the outset; do not introduce a temporary wrapper that must immediately be rewritten.
    2. Use a dedicated Android output directory and make artifact discovery work both locally and in CI. Cleanup must only remove known Android outputs, not generic desktop build directories.
    3. Add a Qt 5 settings example and local-build documentation. Preserve the existing debug APK behaviour, main package name, CI artifact name and the Qt Creator debug path; use a valid checked-in manifest.
    4. Build locally and in CI, inspect artifacts, install/launch, connect to a server and exercise audio. Verify local and CI cleanup and artifact paths.

    Done: the existing debug build is reproducible locally and in CI, without release signing, Play or Qt 6 being prerequisites.

    C. Cross-platform prerequisites: attachments and settings — #4008

    The JSON-RPC attachment transport C0 is a prerequisite for full settings export/import. C0 and the completed C1–C7 settings work are prerequisites for every B3–B7 step, not just the release migration claim. This is not limited to Android or mixer setups: cover all client and server settings normally written to the relevant .ini, GUI and JSON-RPC, on applicable platforms. Split the work into independently reviewable PRs.

    C0. JSON-RPC attachment transport

    Implement and review separately before full settings export/import:

    1. Preserve ordinary newline-delimited JSON framing. Permit attachment opt-in only for explicitly allowed operations, with delimiter and decoded byte count in the request; send attachment responses only when requested and allowed. Reject opt-in for other methods and initially reject attachments in batch requests.
    2. Specify LF framing, base64 lines of at most 76 characters, padding, empty attachments, non-final line lengths and bounded non-colliding delimiters. Define association with request IDs, errors and notification queuing so messages cannot interleave with an attachment.
    3. Accept attachments only after authentication. Enforce decoded/encoded and line size limits, declared versus actual size, absolute deadlines, per-connection and aggregate resource limits; close malformed, oversized or incomplete transfers. Measure realistic client exports before setting limits.
    4. Address slow readers, backpressure and slow/malicious uploads. Preserve legacy clients, document security properties and the unencrypted TCP transport, and do not log attachment contents.

    Done: the transport is specified, implemented and tested independently, including legacy clients, framing, authentication, limits, interrupted transfers, concurrency and backpressure. It does not depend on B3–B7.

    C1. Inventory and specification

    1. Inventory every field written by client and server settings serializers, including optional fields, 250 remembered fader slots and window state; map each to its live owner and GUI.
    2. Classify live-applicable, restart-required, preserved and unsupported/unsafe values; document ordering and side effects. Specify handling of old/partial files, missing/unknown/invalid fields, wrong-mode files and malformed XML.
    3. Agree command-line precedence and report overrides; define per-setting applied/skipped/failed/restart-required results and whether side effects can remain after partial failure. Do not claim atomic rollback without implementing it.

    C2. Shared snapshot, validation and application

    1. Implement shared capture, serialization, validation and application for GUI and RPC. Capture current GUI and mixer state without closing windows or triggering shutdown side effects; support headless operation.
    2. Reuse the current XML format and compatibility behaviour where safe; validate document size, structure, numeric/boolean values, encoded data and other bounds before unsafe use or mutation. Replace full collections without retaining stale faders.
    3. Apply in safe order and report individual failures/overrides/restart requirements; keep the active .ini filename and existing normal persistence. Preserve startup behaviour and do not add automatic load/save to headless servers. Keep I/O, allocation and blocking off real-time paths.

    C3. Client integration

    1. Add Save Settings As... and Load Settings... separately from mixer-channel setup actions. Disable loading while connecting or connected; reject RPC early and recheck in the shared core immediately before applying, including after a picker or transfer.
    2. Apply profile, audio device/mappings, buffer and quality, MIDI, directory, mixer and UI preferences in a safe order. Report unavailable devices and failed initialization.
    3. Refresh dialogs, menus, mixer and applicable notifications. Preserve current window positions and visibility rather than moving, opening or closing windows on import.

    C4. Server integration

    1. Add server GUI actions and shared support for RPC/headless operation. Reject imports while clients are connected and ensure a client arriving during import cannot bypass the check.
    2. Specify and safely handle registration, recording-directory changes, directory-list persistence, delay panning, language and platform-specific autostart; report failed or restart-required settings rather than assuming an idle server makes everything safe.
    3. Synchronize server controls and notifications with actual results, including partial failure. Do not introduce headless-server settings autosave or shutdown-only side effects.

    C5. File handling and mobile migration

    1. Use appropriate native file pickers; verify actual read/write access to Android and iOS document-provider URLs, not just ordinary filesystem paths. Provide a usable suggested filename/extension and make exported files selectable for import.
    2. Treat cancellation as a no-op; report file, parse and partial-application errors and restart requirements. Test cross-device transfers with unavailable device names, paths and geometry.
    3. On Android, export from an export-enabled debug build, transfer the file and import into another debug installation and an independently produced test APK with a different application identity. Verify remembered faders and other settings, without losing the source file during uninstall. Check whether an existing installation without export can update to that build with its current signer; where it cannot, document any verified recovery route rather than promising migration. Verify migration into the actual signed release in B4; do not make B4 a prerequisite for completing C.

    Android migration check: C1–C5 exercise the GUI migration with a separate test identity; the full B3–B7 gate also requires C0, C6 and C7.

    C6. Settings RPC methods

    1. Add client and server export/import methods using the shared core and C0. Specify method names, capability negotiation and response shapes.
    2. Return an explicit busy/session error before accepting an import where possible, recheck at application, and define connection behaviour when rejected attachment data is already in flight.
    3. Return structured partial-success and restart details; surface validation/application failures. Regenerate docs/JSON-RPC.md from source annotations and document the transport and methods.

    C7. End-to-end verification and closure

    1. Test GUI and headless client/server round trips using state different from the last saved file: faders, dialogs, notifications and intended persistence. Verify window geometry and visibility stay unchanged.
    2. Test connecting/connected client and active server rejection, including state changes during picker or transfer, then successful import when idle. Exercise unavailable devices/paths, command-line overrides, old/partial/wrong-mode/malformed files and restart-required settings.
    3. Test legacy RPC clients, authentication, permitted/non-permitted opt-in, attachment boundaries, malformed base64/delimiters, interruption, deadlines, concurrency, batching, backpressure and notification ordering.
    4. Verify Android/iOS native pickers, cross-device transfer and relevant desktop/headless builds and functional tests. Compare against baseline and report untested platforms.

    Done: all client/server, GUI/RPC, headless and mobile requirements above are satisfied or an explicitly agreed scope change is made to #4008.

    B. Build, signing and distribution (continued)

    Prerequisites for every step below: complete C0 and the full settings export/import work C1–C7, as well as the shared build foundation B2. The Play and Qt 6 branches remain independent of each other after these prerequisites.

    B3. Version policy and portability — #3087

    1. Implement the agreed code policy in the shared build and release interface. Remove mandatory Linux-specific commands and Git-repository dependence from Android version generation; allow explicit, validated release codes.
    2. Ensure a clean source revision and its source tarball yield the agreed same code across supported build hosts; define and test how dirty/local builds are identified and prevented from accidentally becoming releases. Keep release codes valid and increasing and coordinate manual and CI builds.
    3. Test repository and tarball builds, including Windows Qt Creator and Linux where available, missing Git, invalid/missing release codes, clean/dirty inputs, repeat builds and version ordering. Document any unsupported case.

    Done: #3087's portability and source-tarball requirements are met, not just the Play workflow. B3 and B4 may be combined only if both complete behaviours remain reviewable and independently testable.

    B4. Signed release APKs — #2404, related #1760

    1. Add opt-in release builds with isolated debug/release outputs, the agreed stable release ID and explicitly configured stable signing key. Keep debug-only as the default with the existing ID and do not break Qt Creator's existing debug builds.
    2. Generate/store keys securely, configure repository secrets and least-privilege access, fail clearly for missing credentials, and document key custody, certificate verification and fork/developer builds. Decide whether to publish the public certificate/fingerprint.
    3. Ensure release APKs are zipaligned and signed. Verify alignment and signing certificate, then install a later signed APK over an earlier one with compatible ID/key and increasing code; confirm settings survive.
    4. Test debug and release coexistence and document that an old debug installation with a different ID or signer cannot be updated in place. Verify the completed settings export/import path from the old debug build into the actual signed release, rather than claiming automatic settings preservation.

    Done: #2404 is satisfied, and the update failure in #1760 is checked against the relevant old/new signing and identity combinations rather than assumed resolved.

    B5. Manual Qt 5 Play bundle

    The CMake migration in #3964 will probably make some of this Qt 5/qmake-specific packaging work redundant or require substantial rework for Qt 6. Keep it isolated and weigh that cost when scheduling this step.

    1. Add an isolated Qt 5 Play toolchain/profile, Gradle templates and signed AAB generation for manual upload. Include the Play dependency pins in dependency-update automation. Do not alter the ordinary Qt 5 toolchain or let Play-specific Qt/template changes leak into subsequent normal builds.
    2. Apply the agreed application ID, upload signing and version-code policy. Inspect the AAB's ID, code, ABIs and signing and perform a manual test-track upload/install/update.
    3. Exercise launch, permissions, UI and two-way audio on devices. Reproduce the reported Qt 5/API 36 UI problems and the known experimental packaging workaround; fix trivial defects within scope and create/link focused issues for non-trivial window-management or other defects, rather than silently declaring them fixed or expanding this PR.
    4. Document toolchain, credentials, manual upload, known limitations and what has actually been tested.

    Done: a manually uploadable, installable test AAB is produced; outstanding UI problems remain explicit, with no claim that an upload alone validates the app.

    B6. Opt-in Play upload

    The move to CMake may also make parts of this upload workflow redundant or require substantial rework to consume the new build artifacts. Account for that when deciding how much workflow-specific integration to add.

    1. Add a separate, manually triggered CI workflow for uploading the B5 AAB to the Play internal testing track. Configure secrets and access without exposing credentials; make non-Play builds unaffected.
    2. Verify version-code coordination between local/manual and workflow uploads, failure reporting for missing/invalid credentials or rejected codes, and the installed build after upload.
    3. Document setup, manual trigger, testing opt-in and recovery from upload failures.

    Done: a real internal-track upload and installation are verified, or any unavailable credential/device test is explicitly recorded as outstanding.

    B7. Experimental Qt 6 APKs — #2528

    The CMake migration in #3964 will probably make much of this experimental qmake packaging work redundant or require substantial rework. Consider that cost before proceeding with this path.

    1. If the qmake experiment is agreed, add the Qt 6 dependency profile, manifest and per-ABI APK ZIPs, plus an experimental CI target. Preserve the Qt 5 path and allow B5/B7 to merge in either order.
    2. Replace unavailable Qt AndroidExtras permission handling with a supported Qt 6 approach, including microphone grant, denial and re-request/lifecycle behaviour. The draft's Qt permission path is for Qt 6.5 or later; define supported Qt versions.
    3. Inspect each ABI artifact; install, launch, connect, test permissions and two-way audio. Investigate the reported Qt 6 UI problems, fix trivial issues and track non-trivial UI/window-management work separately.
    4. Document the experimental APK limitation and known issues. Do not close Android: Qt6 compatibility #2528 as fully resolved until its Qt 6 compatibility and permission scope is actually met; do not claim qmake APK ZIPs provide a Play AAB.

    Done: the chosen Qt 6 path is buildable and device-tested, with outstanding compatibility/UI defects tracked. If CMake is selected instead, perform D1–D5 and address the same permission and device checks there.

    D. CMake migration — #3964

    This work is managed under #3964 and is restated here for planning purposes. It is a cross-platform migration, not merely an Android packaging flag; its scope, sequencing and status are governed by that issue, not this plan. Agree the Qt 5 legacy versus Qt 6 modern split and whether any legacy build also moves to CMake. Preserve the legacy build and dependency pins while migrating; evaluate any alternative to Qt as a separate design decision.

    D1. Establish build parity

    1. Inventory qmake sources, generated UI/resources/translations, platform backends, defines, compiler/linker flags, Opus architecture optimizations, libraries and packaging for every target. Compare converter output against qmake; do not assume a clean converter exit means equivalence.
    2. Introduce a Qt 6 CMake build alongside Jamulus.pro, correcting omissions and platform-specific rules. Establish a source/define/flag comparison on Linux against qmake, plus functional client/server tests.
    3. Add a CI parity check for the migration period, while testing each build's linking, artifacts and runtime independently. Agree how intentional differences are reviewed.

    D2. Windows and macOS

    1. Migrate Qt 6 Windows x64 and Windows JACK build/deployment paths, preserving platform-specific moc/defines, ASIO/JACK, Opus and packaging.
    2. Migrate macOS Qt 6 build/deployment, selecting the correct CoreAudio backend and compiler/platform guards.
    3. Compare against qmake and build, install and exercise the relevant client/server and audio configurations on each platform.

    D3. Android Qt 6

    1. Once Qt 6 permissions are resolved, add the CMake Android build and multi-ABI packaging, with appropriate manifest, signing/version integration and CI artifacts.
    2. Compare packaging and runtime behaviour with the experimental qmake/Qt 5 paths; verify ABIs, permissions, UI, install/update and two-way audio. Investigate whether Qt-generated packaging changes the reported UI problems; also check for new regressions.
    3. Track remaining non-trivial UI defects separately. Determine whether a Play AAB is actually produced and tested rather than inferring it from a successful APK.

    D4. iOS and legacy investigation

    1. Migrate the iOS build/deployment after the prior Qt 6 paths, preserving signing, packaging and platform behaviour; test on a device where available.
    2. Evaluate and document whether legacy Qt 5 targets should remain pinned to qmake or also use CMake; maintain each supported platform throughout the transition.

    D5. Close migration

    1. Review all platform matrix entries, client/server and optional backends, dependencies, translations, generated sources, optimization flags, packaging and release workflows against the inventory.
    2. Remove migration-only parity checks or qmake paths only when their replacement is tested and agreed. Update build documentation and state explicitly any platform not exercised.

    Done: #3964's agreed cross-platform scope is complete; an Android-only Qt 6 build does not by itself close the wider migration.

    Completion of #4009

    Close the top-level issue only when the agreed audio, build, signing/versioning and experimental distribution outcomes are delivered and tested, the remaining linked-ticket scopes are completed or explicitly tracked with agreed ownership, and the identity/settings migration is documented. Report exact commands, device/OS/build identities, baseline versus changed behaviour, and untested cases for each PR. Builds and uploads alone are not runtime tests.

    🤖 Used AI: AI assistant using Copilot SDK in VS Code, to consolidate the linked issues and discussions into this proposed plan.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request

    Type

    No type

    Projects

    • Status
      In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions