当前位置:   article > 正文

Linux 上 Qt 一些常见报错解决办法~_linux qt6 qtmultimedia 没有编译成功,plugins 没有

linux qt6 qtmultimedia 没有编译成功,plugins 没有

1、cannot find -LGL

sudo apt-get install build-essential libgl1-mesa-dev

2、运行 QtCreator 提示:Could not load the Qt platform plugin “xcb” in “” even though it was found.

sudo apt install libxcb-xinerama0

3、编译提示:Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")

sudo apt install libxkbcommon-dev

4、编译提示:Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 

sudo apt install libvulkan-dev

解决以上问题,基本就能安心跑起来了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/608140
推荐阅读
相关标签
  

闽ICP备14008679号