错误:
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