我是靠谱客的博主 专注草莓,最近开发中收集的这篇文章主要介绍KWayland编译错误,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

错误:

Installing in /usr/local. Run /home/lianrl/work/kde/frameworks/kwayland/build/prefix.sh to set the environment for K
Wayland.
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:26 (message):
 The imported target "Qt5::Gui" references the file

    "/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2"

 but this file does not exist.  Possible reasons include:

 * The file was deleted, renamed, or moved to another location.

 * An install or uninstall procedure did not complete successfully.

 * The installation package was faulty and contained

    "/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake"

 but not all the files it references.

Call Stack (most recent call first):
 /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:81 (_qt5_Gui_check_file_exists)
 CMakeLists.txt:42 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/lianrl/work/kde/frameworks/kwayland/build/CMakeFiles/CMakeOutput.log".
 

 解决:

qtbase5-private-dev

另外,可能需要安装:qtwayland5-private-dev

最后

以上就是专注草莓为你收集整理的KWayland编译错误的全部内容,希望文章能够帮你解决KWayland编译错误所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(39)

评论列表共有 0 条评论

立即
投稿
返回
顶部