[英]How to compile Qt 5.2 from git on OS X Mavericks
I cloned the QT source repo and checked out branch stable
. 我克隆了QT源代码库并检查了分支
stable
。
Then I followed this manual http://qt-project.org/wiki/Building_Qt_5_from_Git until I got to the point I have to do ./configure
: 然后我按照这本手册http://qt-project.org/wiki/Building_Qt_5_from_Git,直到我到达我必须做的那一点
./configure
:
The test for linking against libxcb and support libraries failed!
You might need to install dependency packages, or pass -qt-xcb.
See src/plugins/platforms/xcb/README.
and when I enter ./configure -qt-xcb
: 当我输入
./configure -qt-xcb
:
Running configuration tests...
The test for linking against Xlib failed!
You might need to install dependency packages.
See src/plugins/platforms/xcb/README.
Now I'm stuck. 现在我被卡住了。 I couldn't find out what Xlib is, where I can find it or how to install it.
我找不到Xlib是什么,我在哪里可以找到它或如何安装它。 Any help is greatly appreciated!
任何帮助是极大的赞赏!
添加-no-xcb以配置params
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.