Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
9852398
Topic
149479
Board
Development & Technical Discussion
Re: Building headless Bitcoin and Bitcoin-qt on Windows
by
hack_
on
16/12/2014, 02:41:36 UTC
Quote from: nitrogenetics on December 14, 2014, 01:06:36 PM
Quote from: hack_ on December 13, 2014, 03:02:32 AM
ever used webkit// webkitwidgets? Trying to include a secure browser in the QT but it keeps saying the file doesn't exist
Webkit is only supported on qt shared builds afaik. To compile shared qt libraries including webkit you can do as follows:
Install perl, pyhton and ruby (make sure they are in path)
http://www.activestate.com/activeperl/downloads
https://www.python.org/downloads
http://rubyinstaller.org/downloads
(msys) compile icu:
http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-src.zip
Code:
cd /c/deps/icu/source/
./runConfigureICU MinGW --prefix=$PWD/../dist --enable-shared --disable-static
make && make install
(msys) compile both static and shared openssl:
http://www.openssl.org/source/openssl-1.0.1j.tar.gz
Code:
cd /c/deps/
tar xvfz openssl-1.0.1j.tar.gz
cd openssl-1.0.1j
Configure shared no-dso mingw
make
(cmd) compile qt:
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/single/qt-everywhere-opensource-src-5.3.2.7z
Code:
set PATH=%PATH%;C:\deps\icu\dist\lib
set INCLUDE=C:\deps\openssl-1.0.1j\include;C:\deps\icu\dist\include
set LIB=C:\deps\openssl-1.0.1j;C:\deps\icu\dist\lib
configure.bat -release -opensource -confirm-license -shared -make libs -make tools -no-opengl -system-zlib -qt-pcre -qt-libpng -icu -no-freetype -no-angle -no-vcproj -openssl -no-dbus
mingw32-make
As an alternative I think you can install the prebuilt qt package (
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/qt-opensource-windows-x86-mingw482_opengl-5.3.2.exe
) and compile everything else with the included mingw-builds toolchain.
Quote from: waser12 on December 14, 2014, 12:42:29 PM
strip src/bitcoin-cli.exe
strip src/bitcoind.exe
strip src/qt/bitcoin-qt.exe
i can get all except bitcoin-qt.exe (the error is something like no file found)
Why please?
You should have a look at configure output to see why bitcoin-qt is not being built
just finished the build, will test today.
So is the
qt-everywhere-opensource
a more complete version of QT?