qt - 如何在 QT 构建期间禁用 Qt Wayland 模块?

标签 qt qtwayland

我正在尝试在我的树莓派上构建 Qt,上面有 jessie。

我为我的构建提供的配置选项如下:

./configure -v -opengl es2 -device linux-rasp-pi-g''+ -device-option CROSS_COMPILE=/usr/bin/ -opensource -confirm-license -optimized-qmake -reduce-exports -release -qt-pcre -make libs -prefix /usr/local/qt5

但是,我收到以下与 QtWayland 相关的错误...
Project ERROR: wayland-client development package not found
Makefile:54: recipe for target 'sub-brcm-egl-install_subtargets' failed
make[5]: *** [sub-brcm-egl-install_subtargets] Error 3
make[5]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland/src/plugins/hardwareintegration/client'
Makefile:54: recipe for target 'sub-client-install_subtargets' failed
make[4]: *** [sub-client-install_subtargets] Error 2
make[4]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland/src/plugins/hardwareintegration'
Makefile:81: recipe for target 'sub-hardwareintegration-install_subtargets' failed
make[3]: *** [sub-hardwareintegration-install_subtargets] Error 2
make[3]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland/src/plugins'
Makefile:107: recipe for target 'sub-plugins-install_subtargets' failed
make[2]: *** [sub-plugins-install_subtargets] Error 2
make[2]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland/src'
Makefile:56: recipe for target 'sub-src-install_subtargets' failed
make[1]: *** [sub-src-install_subtargets] Error 2
make[1]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland'
Makefile:737: recipe for target 'module-qtwayland-install_subtargets' failed
make: *** [module-qtwayland-install_subtargets] Error 2

有什么方法可以在 Qt 构建期间禁用 QtWayland 选项?

最佳答案

您可以在进行配置时跳过它

./配置 -跳过路地 .

关于qt - 如何在 QT 构建期间禁用 Qt Wayland 模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34223146/

相关文章:

c++ - 如何使用 Qt 5.7 初始化 stdout stdin

c++ - 对于 qml 客户端,来自 C++ 的 QtWayland 注册失败

window - 获取韦兰韦斯顿的事件窗口列表

qt - 是否可以删除 Weston 工具栏?

QT wayland 无法创建显示(没有这样的文件或目录)

c++ - 使用 glDrawPixels 时将图片上下颠倒

c++ - QTableView扩展

qt - 如何让顶部的QWidget模态化?

qt - QCryptographicHash - 实际上这里的 SHA3 是什么?

linux - 如何 build qtwayland?