doc: remove readme-qt.md #3092

pull laanwj wants to merge 2 commits into bitcoin:master from laanwj:2013_10_remove_readme_qt changing 2 files +25 −103
  1. laanwj commented at 12:37 PM on October 15, 2013: member

    Now that autotools is used as a build system there is nothing special about building the GUI anymore. People were getting confused about the lack of any real build instructions in readme-qt.md. Merge the salvageable parts into build-unix.md.

  2. Diapolo commented at 1:02 PM on October 15, 2013: none

    ACK

  3. in doc/build-unix.md:None in a648b28fe8 outdated
      84 | +
      85 | +To build with Qt 4 you need the following:
      86 | +
      87 | +    apt-get install libqt4-dev
      88 | +
      89 | +For Qt 5 you need the following:
    


    Diapolo commented at 1:03 PM on October 15, 2013:

    There are still autotools patches to come for this, right?


    laanwj commented at 1:20 PM on October 15, 2013:

    It doesn't work like this yet?


    Diapolo commented at 1:40 PM on October 15, 2013:

    AFAIK you currently can't use Qt5 with our autotools!? I remember @theuni mentioned he planed to add Qt5 patches soon.


    laanwj commented at 1:45 PM on October 15, 2013:

    I'm still using Qt4, so I don't know. Would be pretty sucky though if we lost Qt5 support :/


    Diapolo commented at 1:49 PM on October 15, 2013:

    Well and I'm still using the .pro, so I can't verify either...

  4. schildbach commented at 1:06 PM on October 15, 2013: contributor

    I am testing the new build instructions with Ubuntu 13.04.

    • Figuring out the dependencies is hard, given that different Ubuntu version schemes are used (sometimes Ubuntu Precise, sometimes Ubuntu 12.04). It's sometimes not clear if the doc implies "and later" or "and earlier".
    • $ ./autogen.sh Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195. Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
  5. laanwj commented at 1:16 PM on October 15, 2013: member

    For libtoolize, can you try to install "autotools-dev"?

  6. schildbach commented at 1:23 PM on October 15, 2013: contributor

    @laanwj autotools-dev is already installed.

  7. laanwj commented at 1:24 PM on October 15, 2013: member

    "libtool" then

  8. schildbach commented at 1:33 PM on October 15, 2013: contributor

    package libtool is fine, autogen succeeded. Now ./configure fails at

    checking for Berkeley DB C++ headers... no configure: error: libdb_cxx headers missing

    I assume this is due to libdb* packages missing, however none of the alternatives worked for me:

    Package libdb4.8++-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

    Same for libdb4.8-dev.

  9. laanwj commented at 1:35 PM on October 15, 2013: member

    You're using these?

    db4.8 packages are available [here](https://launchpad.net/~bitcoin/+archive/bitcoin)
    
  10. schildbach commented at 1:38 PM on October 15, 2013: contributor

    No, I was hoping I can satisfy all dependencies from the Ubuntu repositories. Is this possible?

  11. laanwj commented at 1:42 PM on October 15, 2013: member

    That's not possible, there are no bdb 4.8 packages in the repository for 12.04 and later. You can use a newer bdb but once you use that you break binary wallet compatibility thus is not recommended (that's literally in the build instructions).

  12. sipa commented at 1:46 PM on October 15, 2013: member

    If you were already compiling bitcoin(d/-qt) before on ubuntu, you were likely using bdb 5.1 anyway, and you already lost that compatibility. In any case, nothing a db_dump + db_load can't solve if you really need to downgrade bdb.

  13. schildbach commented at 1:50 PM on October 15, 2013: contributor

    Yes, for now I installed bdb 5.1 from the Ubuntu repositories again.

    Also, I needed to install "libprotobuf-dev" (missing in the doc).

  14. schildbach commented at 1:52 PM on October 15, 2013: contributor

    Now, I get

    checking if qt should be enabled... configure: error: "qt support requested but qt could not be located. use --without-qt"

    I have installed libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev-tools as documented. Did not try the qt4 path.

  15. laanwj commented at 1:53 PM on October 15, 2013: member

    I'll add libprotobuf-dev.

    Ok so it seems that @diapolo is right and Qt5 is no longer supported at the moment :(

  16. doc: remove readme-qt.md
    Now that autotools is used as a build system there is nothing
    special about building the GUI anymore. Merge the salvageable
    parts into build-unix.md
    29a4146327
  17. schildbach commented at 1:59 PM on October 15, 2013: contributor

    Ok, going the qt4 route then.

    Is "checking if ccache should be enabled... configure: ccache not found. Falling back to default CC no" expected?

  18. laanwj commented at 2:00 PM on October 15, 2013: member

    Yes, ccache is not necessary for a build but can be used.

  19. doc: build with qt5 is currently not possible
    Add as a separate commit so that it can be easily reverted once
    Qt5 is supported again.
    62568f9a1e
  20. BitcoinPullTester commented at 2:21 PM on October 15, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/62568f9a1e98065bd51069649f23a337eab89f94 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  21. schildbach commented at 2:44 PM on October 15, 2013: contributor

    @laanwj what would be the package for ccache?

    I managed to build bitcoin-qt using the instructions. Thanks for your help!

  22. laanwj commented at 4:22 PM on October 15, 2013: member

    I think the package is simply 'ccache'.

  23. schildbach commented at 4:27 PM on October 15, 2013: contributor

    Yes, that works.

  24. gavinandresen referenced this in commit 8d3f0d099b on Oct 15, 2013
  25. gavinandresen merged this on Oct 15, 2013
  26. gavinandresen closed this on Oct 15, 2013

  27. super3 commented at 1:39 AM on October 16, 2013: contributor

    Missed the index link in the /doc readme. See #3097

  28. rebroad commented at 10:37 PM on December 27, 2013: contributor

    still seems that the libprotobuf-dev isn't mentioned in the build docs... shall I do a pull request for this?

  29. laanwj commented at 2:25 PM on December 29, 2013: member

    libprotobuf-dev, as well as protobuf-compiler IS mentioned in the build docs:

    To build with Qt 4 you need the following:
    
        apt-get install libqt4-dev libprotobuf-dev protobuf-compiler
    
  30. Bushstar referenced this in commit 7320c3da24 on Apr 8, 2020
  31. DrahtBot locked this on Sep 8, 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: 2026-04-13 15:16 UTC

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