【发布时间】:2014-01-03 10:34:42
【问题描述】:
在 OSX 上安装 Qt5 时遇到问题。
Qt Requirements for Mac OSX 已完成 - Xcode 和命令行已安装。然后我按照以下步骤操作:
# mkdir qt5
# cd qt5
# git clone git://gitorious.org/qt/qtbase.git
# cd qt5
# ./configure
The test for linking against libxcb and support libraries failed!
You might need to install dependency packages, or pass -qt-xcb.
那我也试了
# cd qtbase
# ./configure -prefix $HOME/development/macosx/qt5 -nomake docs -nomake examples -nomake demos -nomake tests -opensource -confirm-license -release -no-c++11
Unknown part docs passed to -nomake.
# ./configure
The test for linking against libxcb and support libraries failed!
You might need to install dependency packages, or pass -qt-xcb.
其他一些相关问题的链接是:
然后Xquartz也被安装了,假设问题是因为OSX Mountain Lion上缺少X11,重新启动计算机并再次尝试安装。一点问题都没有解决。
在 Linux Qt5 上安装非常好,没有任何麻烦。但在 OSX 上它不起作用。
希望有人能给点建议。
【问题讨论】: