我正在尝试在我的 Mac 上编译比特币核心,并且我也想使用 QT 来开发该项目。这是 GitHub 上的说明:https : //github.com/bitcoin/bitcoin/blob/0.14/doc/build-osx.md
我已经设置了我的 QT:
$ qmake --version
QMake version 3.0
Using Qt version 5.5.1 in /usr/local/Cellar/qt@5.5/5.5.1_1/lib
Run Code Online (Sandbox Code Playgroud)
然后当我运行
./configure --with-gui
它时会抛出以下错误:
checking for Qt5Core Qt5Gui Qt5Network Qt5Widgets... no
checking for QtCore QtGui QtNetwork... no
configure: error: Qt dependencies not found
Run Code Online (Sandbox Code Playgroud)
我无法在 QT 中运行 ./src/qt。它抛出这些错误:
make[1]: *** No rule to make target `bitcoin_qt'. Stop.
make: *** [all] Error 2
11:24:14: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project bitocin (kit: Desktop) …Run Code Online (Sandbox Code Playgroud)