On android, release and debug outputs overwrite - avoid - #3904
Draft
pljones wants to merge 1 commit into
Draft
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adjusts the project’s qmake configuration to avoid Android build conflicts where debug and release targets overwrite the same pre-packaging .so output during multi-ABI builds.
Changes:
- Stop enabling
debug_and_releasewhen building for Android to prevent conflicting output targets. - Keep
debug_and_releaseenabled for non-Android builds.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
pljones
force-pushed
the
bugfix/avoid-android-release-debug-conflict
branch
from
August 15, 2026 16:26
5e0808e to
53a2e61
Compare
Comment on lines
+269
to
+272
| CONFIG -= android_install | ||
| android_lib.files = $$DESTDIR/libJamulus_$${QT_ARCH}.so | ||
| android_lib.path = /libs/$$ANDROID_TARGET_ARCH | ||
| INSTALLS += android_lib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short description of changes
Currently, when running
qmakefor an android build, the command completes withbecause both targets write the same pre-packaging file in the project root (rather than under the Release or Debug ABI directory). For example: https://github.com/jamulussoftware/jamulus/actions/runs/31731502137/job/94565506319
This change splits the DESTDIR for debug and release runs so there is no conflict and makes the other necessary changes to get the build to assemble the final target.
CHANGELOG: SKIP
Context: Fixes an issue?
Build conflict on android.
Does this change need documentation? What needs to be documented and how?
No.
Status of this Pull Request
Could do with someone who knows the intent of
debug_and_releaseconfirming this is a sensible fix. It appears to work.What is missing until this pull request can be merged?
Needs a second opinion on the approach.
Checklist