我是靠谱客的博主 专注草莓,这篇文章主要介绍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编译错误内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部