当前位置:  开发笔记 > 运维 > 正文

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

如何解决《如何在QT构建期间禁用QtWayland模块?》经验,为你挑选了1个好方法。

我正在尝试使用jessie在我的覆盆子pi上构建Qt .

我提供的配置选项如下所示:

./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选项吗?



1> 小智..:

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

./configure -skip wayland.

推荐阅读
手机用户2402852307
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有