2017-06-16 72 views
2

我想在我的Mac上编译比特币核心,并且我想用QT来开发项目。下面是在GitHub上批示: https://github.com/bitcoin/bitcoin/blob/0.14/doc/build-osx.md未找到Qt依赖

而且我已经建立了我的QT:

$ qmake --version 
QMake version 3.0 
Using Qt version 5.5.1 in /usr/local/Cellar/[email protected]/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" 

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

回答

0

您应该遵循这些步骤:Using Qt Creator as IDE

+0

是的,我也跟着这些,它仍然无法找到任何QT的依赖。 –

+0

@JonathanZHU:奇怪!你的Qt版本是什么?你应该尝试最新的5.9。 – Azeem