WIP QT Android Build #16916

pull BlockMechanic wants to merge 6 commits into bitcoin:master from BlockMechanic:android-build changing 15 files +173 −15
  1. BlockMechanic commented at 10:28 am on September 19, 2019: contributor

    Build with :-

    make HOST=i686-linux-android ANDROID_API_LEVEL=24 ANDROID_TARGET_ARCH=x86 ANDROID_TOOLCHAIN_BIN=/opt/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/bin ANDROID_SDK=/opt/android-sdk-linux ANDROID_NDK=/opt/android_ndk -j 4

    This gets you up to a binary. I am working on the final steps to produce an APK

  2. Fix missing destructor in class
    Fixes missing destructor in abstract class CBlockHeader. Not an error but introduces annoying warnings if compiling with clang.
    7d8f0e8fa5
  3. Revert "Fix missing destructor in class"
    This reverts commit 7d8f0e8fa5dc57219cbb277a0c985611c3f707e0.
    3eaa00231e
  4. Merge remote-tracking branch 'upstream/master' 8dc122811d
  5. Merge remote-tracking branch 'upstream/master' d1a89927b5
  6. Working Android QT (5.12.4)
    Known working android QT build depends modifications. It needs clean up though. Please note, i use QT 5.12.4
    b28c1030e5
  7. fanquake added the label Build system on Sep 19, 2019
  8. BlockMechanic renamed this:
    Android build
    WIP QT Android Build
    on Sep 19, 2019
  9. icota commented at 10:43 am on September 19, 2019: contributor
    Thanks @BlockMechanic. I see some commits here that are not really related to Qt or Android so you should clean that up first. Also bumping the Qt version should probably be a separate PR and even then quite controversial. What I find useful from this PR is the 32-bit support which I don’t personally care for (don’t see the point going forward) but maybe best to work that in on top of #16110.
  10. Sjors commented at 11:00 am on September 19, 2019: member

    Rebasing this on #16110 would be nice; that way I can test if that PR actually works on a device rather than just compiles.

    Eventually the QT upgrade should be its own PR, but just keep it in here for now; pending more conceptual discussion. We occasionally open an issue to bump the QT version in depends (relevant for this), as well as the minimum supported QT version (not really relevant). See also discussion about macOS and QT 5.12 in #16392.

    Once you figured out how to build an APK, the next important question, brought up in #16883 is whether this APK can built with Gitian, in particular: if there are any non-deterministic build steps.

  11. Update bitcoin_qt.m4
    Fix to allow configure to detect at
    2345330780
  12. DrahtBot commented at 2:36 pm on September 19, 2019: member

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #17008 (build: bump libevent to 2.1.11 in depends by stefanwouldgo)
    • #16949 (build: only pass –disable-dependency-tracking to packages that understand it by fanquake)
    • #16110 (depends: Add Android NDK support by icota)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  13. emilengler commented at 3:28 pm on September 19, 2019: contributor
    ~0 Even though I like the support of multiple platforms I’m a bit suspicious if it would be worth to support android as well.
  14. BlockMechanic commented at 7:33 pm on September 19, 2019: contributor

    ~0 Even though I like the support of multiple platforms I’m a bit suspicious if it would be worth to support android as well.

    1. Most of the world uses mobile devices
    2. The most popular operating system in the world is android..

    Fact is , when it comes to pure numbers, they actually encourage mobile centric development more than desktops….

    I can see the points of resistance that may arise but i think it’s fair to say that while originally desktop based, bitcoin core (at least the GUI) is long overdue mobile options as the world clearly favours the mobile experience.

  15. MarcoFalke commented at 7:49 pm on September 19, 2019: member
    I think we should support any platform as long as there is at least one maintaining it for a (small) user base
  16. emilengler commented at 8:26 pm on September 19, 2019: contributor
    @MarcoFalke I agree but that was point of my criticism that it would need someone to maintain it and test it
  17. emilengler commented at 8:27 pm on September 19, 2019: contributor
    Well in theory everything needs a maintainer but it would be much easier to find someone for the current stuff I think
  18. fanquake commented at 1:25 am on September 23, 2019: member

    I agree with the other commenters here; can you please rebase this on top of #16110. It looks like the majority of commits/changes here will actually disappear. For the changes that are left, can you split them into separate commits, with appropriate descriptions.

    As pointed out above, we’re not going to bump Qt in this PR, as when we upgrade the version of Qt we use in depends we have to consider much more than just Android support.

  19. fanquake added the label Waiting for author on Sep 23, 2019
  20. laanwj added the label Android on Sep 30, 2019
  21. BlockMechanic commented at 6:04 pm on October 8, 2019: contributor
    i seem to have messed up this branch on my local, so i am re-doing this PR rebased on current master.
  22. BlockMechanic closed this on Oct 8, 2019

  23. BlockMechanic commented at 6:06 pm on October 8, 2019: contributor
    I messed up on my local and ended up creating a new rebased version that has the overall work broken up into smaller parts. see :- https://github.com/bitcoin/bitcoin/pull/17078
  24. BlockMechanic deleted the branch on Oct 8, 2019
  25. BlockMechanic restored the branch on Oct 8, 2019
  26. Sjors commented at 6:21 pm on October 8, 2019: member
    It’s usually not necessary to make a new PR; you can just delete the broken branch on your local machine, create a new branch with the same name and then force push it.
  27. BlockMechanic commented at 6:43 pm on October 8, 2019: contributor

    It’s usually not necessary to make a new PR; you can just delete the broken branch on your local machine, create a new branch with the same name and then force push it.

    Ah… i’ll try that. I had seen some PRs with force push but had no idea how to make it happen

  28. laanwj removed the label Waiting for author on Oct 24, 2019
  29. MarcoFalke locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me