gpt4 book ai didi

macos - 如何在 OS X Mavericks 上从 git 编译 Qt 5.2

转载 作者:行者123 更新时间:2023-12-01 09:22:31 25 4
gpt4 key购买 nike

我克隆了 QT 源代码库并检查了分支 stable

然后我按照这个手册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.

当我输入 ./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.

现在我卡住了。我找不到 Xlib 是什么,在哪里可以找到它或如何安装它。非常感谢任何帮助!

最佳答案

添加-no-xcb 来配置参数

关于macos - 如何在 OS X Mavericks 上从 git 编译 Qt 5.2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19891250/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com