我在OSX上安装Qt5时遇到了问题.
完成Mac OSX的Qt要求 - 安装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.
Run Code Online (Sandbox Code Playgroud)
然后我也试过了
# 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 …Run Code Online (Sandbox Code Playgroud)