未找到Qt依赖项

时间:2017-06-16 04:14:11

标签: macos qt bitcoin

我正在尝试在我的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

然后我跑 ./configure --with-gui 它会抛出以下错误:

checking for Qt5Core Qt5Gui Qt5Network Qt5Widgets... no
checking for QtCore QtGui QtNetwork... no
configure: error: Qt dependencies not found

我无法在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)
When executing step "Make"

我的英语不好,希望你能理解。谢谢你的帮助!

1 个答案:

答案 0 :(得分:0)

您应该按照以下说明操作:Using Qt Creator as IDE