X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=doc%2Freadme-qt.rst;h=b2d72d8e71efeb9af4d57b0f2c99bcb7b7f9e66c;hp=ca57260d37b4fb7f9747c7ab10b470dfcc4d8085;hb=7b2b8815f3ea2ae082810d658645afe79ddc6829;hpb=4ecd9089655735a6d58f6ece6efeb3671887acb2 diff --git a/doc/readme-qt.rst b/doc/readme-qt.rst index ca57260..b2d72d8 100644 --- a/doc/readme-qt.rst +++ b/doc/readme-qt.rst @@ -16,7 +16,7 @@ for Debian and Ubuntu <= 11.10 : :: - apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \ + sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \ libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \ libssl-dev libdb4.8++-dev @@ -24,21 +24,43 @@ for Ubuntu >= 12.04 (please read the 'Berkely DB version warning' below): :: - apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \ + sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \ libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \ - libssl-dev libdb++-dev libminiupnpc-dev + libssl-dev libdb++-dev + +install Git: -then execute the following: +:: + + sudo apt-get install git + +clone the repository : :: - qmake + git clone https://github.com/novacoin-project/novacoin + + +Execute the following: + +:: + + cd novacoin + qmake USE_O3=1 USE_ASM=1 RELEASE=1 make Alternatively, install Qt Creator and open the `novacoin-qt.pro` file. An executable named `novacoin-qt` will be built. +To build novacoind execute the following: + +:: + + cd src + make -f makefile.unix USE_O3=1 USE_ASM=1 STATIC=1 + strip novacoind + Windows -------- @@ -71,7 +93,7 @@ Mac OS X :: sudo port selfupdate - sudo port install boost db48 miniupnpc + sudo port install boost db48 - Open the .pro file in Qt Creator and build as normal (cmd-B) @@ -91,7 +113,7 @@ To use LevelDB for transaction index, pass the following argument to qmake: qmake "USE_LEVELDB=1" -No additional external dependencies are required. If you're running this on your current sources tree then don't forget tu run +No additional external dependencies are required. If you're running this on your current sources tree then don't forget to run :: @@ -118,30 +140,6 @@ If you're using clang compiler then you need to unroll macroses before compiling No additional external dependencies required. Note that only x86, x86_64 and ARM processors are supported. -UPNnP port forwarding ---------------------- - -To use UPnP for port forwarding behind a NAT router (recommended, as more connections overall allow for a faster and more stable novacoin experience), pass the following argument to qmake: - -:: - - qmake "USE_UPNP=1" - -(in **Qt Creator**, you can find the setting for additional qmake arguments under "Projects" -> "Build Settings" -> "Build Steps", then click "Details" next to **qmake**) - -This requires miniupnpc for UPnP port mapping. It can be downloaded from -http://miniupnp.tuxfamily.org/files/. UPnP support is not compiled in by default. - -Set USE_UPNP to a different value to control this: - -+------------+--------------------------------------------------------------------------+ -| USE_UPNP=- | no UPnP support, miniupnpc not required; | -+------------+--------------------------------------------------------------------------+ -| USE_UPNP=0 | (the default) built with UPnP, support turned off by default at runtime; | -+------------+--------------------------------------------------------------------------+ -| USE_UPNP=1 | build with UPnP support turned on by default at runtime. | -+------------+--------------------------------------------------------------------------+ - Notification support for recent (k)ubuntu versions --------------------------------------------------- @@ -155,16 +153,8 @@ FreeDesktop notification interface through DBUS using the following qmake option Generation of QR codes ----------------------- -libqrencode may be used to generate QRCode images for payment requests. -It can be downloaded from http://fukuchi.org/works/qrencode/index.html.en, or installed via your package manager. Pass the USE_QRCODE -flag to qmake to control this: - -+--------------+--------------------------------------------------------------------------+ -| USE_QRCODE=0 | (the default) No QRCode support - libarcode not required | -+--------------+--------------------------------------------------------------------------+ -| USE_QRCODE=1 | QRCode support enabled | -+--------------+--------------------------------------------------------------------------+ - +libqrencode is used to generate QRCode images for payment requests. +It can be downloaded from http://fukuchi.org/works/qrencode/index.html.en, or installed via your package manager. Berkely DB version warning ==========================