Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. Bitcoin-qt: Qt4 GUI for Bitcoin
  2. ===============================
  3. Build instructions
  4. ===================
  5. Debian
  6. -------
  7. First, make sure that the required packages for Qt4 development of your
  8. distribution are installed, for Debian and Ubuntu these are:
  9. ::
  10. apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
  11. libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
  12. libssl-dev libdb4.8++-dev
  13. then execute the following:
  14. ::
  15. qmake
  16. make
  17. Alternatively, install Qt Creator and open the `bitcoin-qt.pro` file.
  18. An executable named `bitcoin-qt` will be built.
  19. Windows
  20. --------
  21. Windows build instructions:
  22. - Download the `QT Windows SDK`_ and install it. You don't need the Symbian stuff, just the desktop Qt.
  23. - Download and extract the `dependencies archive`_ [#]_, or compile openssl, boost and dbcxx yourself.
  24. - Copy the contents of the folder "deps" to "X:\\QtSDK\\mingw", replace X:\\ with the location where you installed the Qt SDK. Make sure that the contents of "deps\\include" end up in the current "include" directory.
  25. - Open the .pro file in QT creator and build as normal (ctrl-B)
  26. .. _`QT Windows SDK`: http://qt.nokia.com/downloads/sdk-windows-cpp
  27. .. _`dependencies archive`: https://download.visucore.com/bitcoin/qtgui_deps_1.zip
  28. .. [#] PGP signature: https://download.visucore.com/bitcoin/qtgui_deps_1.zip.sig (signed with RSA key ID `610945D0`_)
  29. .. _`610945D0`: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x610945D0
  30. Mac OS X
  31. --------
  32. - Download and install the `Qt Mac OS X SDK`_. It is recommended to also install Apple's Xcode with UNIX tools.
  33. - Download and install `MacPorts`_.
  34. - Execute the following commands in a terminal to get the dependencies:
  35. ::
  36. sudo port selfupdate
  37. sudo port install boost db48 miniupnpc
  38. - Open the .pro file in Qt Creator and build as normal (cmd-B)
  39. .. _`Qt Mac OS X SDK`: http://qt.nokia.com/downloads/sdk-mac-os-cpp
  40. .. _`MacPorts`: http://www.macports.org/install.php
  41. Build configuration options
  42. ============================
  43. UPNnP port forwarding
  44. ---------------------
  45. To use UPnP for port forwarding behind a NAT router (recommended, as more connections overall allow for a faster and more stable bitcoin experience), pass the following argument to qmake:
  46. ::
  47. qmake "USE_UPNP=1"
  48. (in **Qt Creator**, you can find the setting for additional qmake arguments under "Projects" -> "Build Settings" -> "Build Steps", then click "Details" next to **qmake**)
  49. This requires miniupnpc for UPnP port mapping. It can be downloaded from
  50. http://miniupnp.tuxfamily.org/files/. UPnP support is not compiled in by default.
  51. Set USE_UPNP to a different value to control this:
  52. +------------+--------------------------------------------------------------------------+
  53. | USE_UPNP=- | no UPnP support, miniupnpc not required; |
  54. +------------+--------------------------------------------------------------------------+
  55. | USE_UPNP=0 | (the default) built with UPnP, support turned off by default at runtime; |
  56. +------------+--------------------------------------------------------------------------+
  57. | USE_UPNP=1 | build with UPnP support turned on by default at runtime. |
  58. +------------+--------------------------------------------------------------------------+
  59. Notification support for recent (k)ubuntu versions
  60. ---------------------------------------------------
  61. To see desktop notifications on (k)ubuntu versions starting from 10.04, enable usage of the
  62. FreeDesktop notification interface through DBUS using the following qmake option:
  63. ::
  64. qmake "USE_DBUS=1"
  65. Generation of QR codes
  66. -----------------------
  67. libqrencode may be used to generate QRCode images for payment requests.
  68. It can be downloaded from http://fukuchi.org/works/qrencode/index.html.en, or installed via your package manager. Pass the USE_QRCODE
  69. flag to qmake to control this:
  70. +--------------+--------------------------------------------------------------------------+
  71. | USE_QRCODE=0 | (the default) No QRCode support - libarcode not required |
  72. +--------------+--------------------------------------------------------------------------+
  73. | USE_QRCODE=1 | QRCode support enabled |
  74. +--------------+--------------------------------------------------------------------------+
  75. Berkely DB version warning
  76. ==========================
  77. A warning for people using the *static binary* version of Bitcoin on a Linux/UNIX-ish system (tl;dr: **Berkely DB databases are not forward compatible**).
  78. The static binary version of Bitcoin is linked against libdb4.8 (see also `this Debian issue`_).
  79. Now the nasty thing is that databases from 5.X are not compatible with 4.X.
  80. If the globally installed development package of Berkely DB installed on your system is 5.X, any source you
  81. build yourself will be linked against that. The first time you run with a 5.X version the database will be upgraded,
  82. and 4.X cannot open the new format. This means that you cannot go back to the old statically linked version without
  83. significant hassle!
  84. .. _`this Debian issue`: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621425
  85. Ubuntu 11.10 warning
  86. ====================
  87. Ubuntu 11.10 has a package called 'qt-at-spi' installed by default. At the time of writing, having that package
  88. installed causes bitcoin-qt to crash intermittently. The issue has been reported as `launchpad bug 857790`_, but
  89. isn't yet fixed.
  90. Until the bug is fixed, you can remove the qt-at-spi package to work around the problem, though this will presumably
  91. disable screen reader functionality for Qt apps:
  92. ::
  93. sudo apt-get remove qt-at-spi
  94. .. _`launchpad bug 857790`: https://bugs.launchpad.net/ubuntu/+source/qt-at-spi/+bug/857790