未检测到 wayland-egl 支持。跨工具包兼容性已禁用

No wayland-egl support detected. Cross-toolkit compatibility disabled

我尝试使用 Qt 提供的示例模块。我下载了 qt-everywhere-opensource-src-5.9.3 tar 文件并解压。 然后我运行下面的命令。

./configure -v -prefix $PWD/qtbase -commercial -nomake tests -opengl es2 -egl

但我遇到了这些错误。

Note: Also available for Linux: linux-clang linux-icc

Note: Dropped compiler flags '-pthread' when detecting library 'glib'.

Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.

Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.

ERROR: Feature 'egl' was enabled, but the pre-condition '(features.opengl || features.openvg) && (features.angle || libs.egl)' failed.

系统上安装的EGL相关库。

您可能遗漏了一些包裹。如果你想要 wayland,你很可能需要 libwaylandlibwayland-egl 的开发包,但我不确定它们在 Ubuntu.[=12= 上叫什么]