概述
错误:
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编译错误所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复